Function zxcvbn::zxcvbn

source ยท
pub fn zxcvbn(password: &str, user_inputs: &[&str]) -> Entropy
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.