#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

#936 in Cryptography

Download history 8/week @ 2023-08-02 8/week @ 2023-08-09 45/week @ 2023-08-16 239/week @ 2023-08-23 13/week @ 2023-08-30 18/week @ 2023-09-06 8/week @ 2023-09-13 6/week @ 2023-09-20 10/week @ 2023-09-27 8/week @ 2023-10-04 10/week @ 2023-10-11 10/week @ 2023-10-18 16/week @ 2023-10-25 11/week @ 2023-11-01 11/week @ 2023-11-08 16/week @ 2023-11-15

57 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

~9–17MB
~335K SLoC