Skip to main content

redact

Function redact 

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

Renders a secret for human display. Never returns more than the last four characters, and returns nothing identifying for short values.