4 releases
0.2.1 | Jan 23, 2022 |
---|---|
0.2.0 | Jun 2, 2021 |
0.1.1 | Jan 31, 2021 |
0.1.0 | Nov 11, 2020 |
0.1.0-alpha1 |
|
#2086 in Cryptography
Used in checkpwn
20KB
315 lines
checkpwn-lib
Library to interact with the Have I Been Pwned API.
See also the checkpwn CLI utility.
Usage
use checkpwn_lib::{Password, check_password, check_account, CheckpwnError};
let password = Password::new("qwerty")?;
check_password(&password);
check_account("your_account", "your_api_key");
Changelog
See here.
License
checkpwn-lib is licensed under the MIT license. See the LICENSE
file for more information.
Dependencies
~10–18MB
~342K SLoC