Noise. Crypto. Cipher behaviour
(Noise Protocol v0.3.0)
View Source
Behaviour for AEAD cipher functions (spec §4.2).
decrypt/4 returns :error on authentication failure or when the
ciphertext is shorter than the 16-byte tag. A default rekey/1
(spec §4.2: ENCRYPT(k, 2^64-1, zerolen, zeros[32])) is provided by
use Noise.Crypto.Cipher.
Summary
Functions
Largest nonce value; reserved for rekey/1 (spec §5.1).