Skip to main content

score

Function score 

Source
pub fn score(password: &str) -> u16
Expand description

The score function takes a password as input and outputs a score.
It makes use of 4 scoring functions located in the score.rs file.
The score function will never log your password

ยงExample

use passcore::score;

let password = "password";
let psw_score = score(password);
println!("Your password's score is {}", psw_score)