Constant tindercrypt::metadata::RING_NONCE_SIZE [−][src]
pub const RING_NONCE_SIZE: usize = 12;
Expand description
The size of the nonces for the encryption algorithms provided by Ring.
We use a constant size of 12 bytes for the nonces, because it’s the recommended size by IETF 1, and because the Ring library does not accept any other size.
From https://tools.ietf.org/html/rfc5084#section-3.2: A length of 12 octets is RECOMMENDED. ↩