Skip to main content

redact

Function redact 

Source
pub fn redact(input: &str) -> String
Expand description

Returns input with known credential and PII patterns replaced. Use for logs and error messages. Allocates a new String only when a match fires.