Skip to main content

password_chars_legal

Function password_chars_legal 

Source
pub fn password_chars_legal(s: &str) -> Result<()>
Available on crate features print and prompt only.
Expand description

Check if the password contains all “legal” characters (and is non-empty)