Skip to main content

MIN_KEY_LEN

Constant MIN_KEY_LEN 

Source
pub const MIN_KEY_LEN: usize = 16;
Expand description

Minimum accepted length, in bytes, of a pre-shared authentication key.

Derivation happily turns a one-byte key into a respectable-looking 32-byte digest, so the floor is enforced rather than left to callers.