Crates.io | checkpwn_lib |
lib.rs | checkpwn_lib |
version | 0.2.1 |
source | src |
created_at | 2020-10-22 08:47:05.95619 |
updated_at | 2022-01-23 09:23:53.466115 |
description | Library to interact with the HIBP API |
homepage | |
repository | https://github.com/brycx/checkpwn-lib |
max_upload_size | |
id | 304206 |
size | 23,703 |
Library to interact with the Have I Been Pwned API.
See also the checkpwn CLI utility.
use checkpwn_lib::{Password, check_password, check_account, CheckpwnError};
let password = Password::new("qwerty")?;
check_password(&password);
check_account("your_account", "your_api_key");
See here.
checkpwn-lib is licensed under the MIT license. See the LICENSE
file for more information.