pub fn redact(input: &str) -> String
Returns input with known credential and PII patterns replaced. Use for logs and error messages. Allocates a new String only when a match fires.
input