Nonce

Type Alias Nonce 

Source
pub type Nonce = [u8; 12];
Expand description

Nonce for AEAD modes.

This is used by e.g. aes128-gcm@openssh.com/aes256-gcm@openssh.com and chacha20-poly1305@openssh.com.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 12 bytes