Crate pwchecker_rs[−][src]
pwchecker_rs
pwchecker_rs allows you to conveniently query the haveibeenpwned.com api so you can check whether or not a password has been involved in a data breach.
Examples
let res = pwchecker_rs::check_for_pwnage("helloworld"); assert!(res.unwrap().times_pwned > 0);
Structs
Passwd | Passwd contains two fields, the password checked for pwnage and the number of times that password has been pwned. |
Functions
check_for_pwnage | Checks given password for a breach according to haveibeenpwned.com. |