Skip to main content

MIN_SECRET_LENGTH

Constant MIN_SECRET_LENGTH 

Source
const MIN_SECRET_LENGTH: usize = 16;
Expand description

Minimum accepted secret length in bytes. 16 bytes = 128 bits of headroom for a uniformly random secret, matching the security level a cheap KDF assumes.