#password #hibp #security #breaches

checkpwn_lib

Library to interact with the HIBP API

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 Oct 22, 2020

#266 in Cryptography

Download history 16/week @ 2022-06-08 6/week @ 2022-06-15 10/week @ 2022-06-22 5/week @ 2022-06-29 14/week @ 2022-07-06 20/week @ 2022-07-13 13/week @ 2022-07-20 18/week @ 2022-07-27 16/week @ 2022-08-03 10/week @ 2022-08-10 8/week @ 2022-08-17 11/week @ 2022-08-24 9/week @ 2022-08-31 19/week @ 2022-09-07 14/week @ 2022-09-14 17/week @ 2022-09-21

60 downloads per month
Used in checkpwn

MIT license

20KB
315 lines

checkpwn-lib Tests Security Audit Documentation Crates.io Safety Dance

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

~10MB
~281K SLoC