module Crypto::ChaCha20

Defined in:

crypto/chacha20.cr
crypto/chacha20/cipher.cr

Constant Summary

BLOCK_SIZE = 64

Constructors

Constructor Detail

def self.new(key : Bytes, nonce : Bytes, counter : UInt32 = 0_u32) : Cipher #

[View source]
def self.new(key : String, nonce : String, counter : UInt32 = 0_u32) : Cipher #

[View source]