module Crypto::Poly1305

Defined in:

crypto/poly1305.cr
crypto/poly1305/mac.cr

Constant Summary

BLOCK_SIZE = 16

Constructors

Class Method Summary

Constructor Detail

def self.new(key : Bytes) : MAC #

[View source]
def self.new(key : String) : MAC #

[View source]

Class Method Detail

def self.auth(key : Bytes, message : Bytes) : Bytes #

[View source]
def self.chacha20(key : Bytes, nonce : Bytes) : MAC #

[View source]
def self.chacha20(cipher : ChaCha20::Cipher) : MAC #

[View source]