Skip to main content

verify_redacted

Function verify_redacted 

Source
pub fn verify_redacted(input: &str) -> bool
Expand description

Verify that a string contains no apparent secrets.

Returns true if no redaction patterns match (i.e. the string is clean). Strings that have already been redacted (contain ***REDACTED***) are considered clean.