Crypto
Constants
MUCH_MB = 50
OVERHEAD_SYMMETRIC = Header.size + Nonce.size
Class methods
blake2b(data : Bytes, *, hash_size : Int32 = 64, key : Bytes | Nil = nil) : Bytes
Sourcedecrypt(*, output : Bytes, additional : Bytes | Nil = nil, key : SymmetricKey, input : Bytes) : Bool
Sourceencrypt(*, output : Bytes, key : SymmetricKey, input : Bytes, additional : Bytes | Nil = nil) : Nil
adds nonce and mac to the packet
sha512(data : Bytes) : Bytes
Source