#password #security #hibp #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

#2086 in Cryptography


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

~10–18MB
~342K SLoC