Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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
Crypto::Poly1305::Default
Crypto::Poly1305::Fast
Crypto::Poly1305::MAC
Crypto::Poly1305::Native
Crypto::Poly1305::OpenSSL