Skip to main content

mask

Function mask 

Source
pub fn mask(username: &str) -> String
Expand description

us***@example.com / ab***: enough for a person to know which saved sign-in is meant, not enough to be useful if it is shown or logged wrong. Keeps at most the first 2 characters.