Skip to main content

mask_text

Function mask_text 

Source
pub fn mask_text(text: &str) -> String
Expand description

text with every secret in it masked: passwords before @, and values after a name naming a secret (see the module documentation). Its time grows with the text’s length, never faster.