Skip to main content

redact_value

Function redact_value 

Source
pub fn redact_value(value: &str, unsafe_include: bool) -> String
Expand description

Redact secret-bearing chunks from a free-form value: split on common delimiters and replace any opaque chunk with the redaction marker.