pub fn redact_credentials(message: &[u8]) -> Vec<u8> ⓘExpand description
Masks a message like mask_for_log, but keeps it parseable: binary
data are replaced by as many * as they were long, and input that does
not tokenize keeps only its separators. Used by debug before it parses
a message for display.