initialize package:crypton
Initialize a new ChaCha context with the number of rounds, the key and
the nonce associated.
Initialize a new ChaChaPoly1305 State
The key length need to be 256 bits, and the nonce procured using
either
nonce8 or
nonce12
RC4 context initialization.
seed the context with an initial key. the key size need to be adequate
otherwise security takes a hit.
Initialize a new Salsa context with the number of rounds, the key and
the nonce associated.
Initialize a new XSalsa context with the number of rounds, the key and
the nonce associated.
Initialize a new incremental HMAC context
Initialize a new incremental KMAC context with the supplied
customization string and key.
Initialize a new incremental keyed Blake2 context with the supplied
key.
initialize a Poly1305 context
Initialize simple ChaCha State
The seed need to be at least 40 bytes long
Initialize a new XChaCha context with the number of rounds, the key
and the nonce associated.
An XChaCha state can be used like a regular ChaCha state after
initialisation.
Initialize a new XChaChaPoly1305 State
The key length needs to be 256 bits, and the nonce procured using
nonce24.