module

Crypto::ChaCha20

Constants

BLOCK_SIZE = 64

Constructors

new(key : Bytes, nonce : Bytes, counter : UInt32 = 0_u32) : Cipher
Source
new(key : String, nonce : String, counter : UInt32 = 0_u32) : Cipher
Source

Nested types