pub fn zxcvbn(
password: &str,
user_inputs: &[&str]
) -> Result<Entropy, ZxcvbnError>
Expand description
Takes a password string and optionally a list of user-supplied inputs (e.g. username, email, first name) and calculates the strength of the password based on entropy, using a number of different factors.