Skip to main content

MIN_SCRUB_LEN

Constant MIN_SCRUB_LEN 

Source
pub const MIN_SCRUB_LEN: usize = 4;
Expand description

Secrets shorter than this are not scrubbed from text: masking every occurrence of a one- to three-character value would mangle messages without protecting anything an attacker could not guess.