module

Crypto::Poly1305

Constants

BLOCK_SIZE = 16

Constructors

new(key : Bytes) : MAC
Source
new(key : String) : MAC
Source

Class methods

auth(key : Bytes, message : Bytes) : Bytes
Source
chacha20(key : Bytes, nonce : Bytes) : MAC
Source
chacha20(cipher : ChaCha20::Cipher) : MAC
Source

Nested types