checkpwn_lib

Crates.iocheckpwn_lib
lib.rscheckpwn_lib
version0.2.1
sourcesrc
created_at2020-10-22 08:47:05.95619
updated_at2022-01-23 09:23:53.466115
descriptionLibrary to interact with the HIBP API
homepage
repositoryhttps://github.com/brycx/checkpwn-lib
max_upload_size
id304206
size23,703
Johannes (brycx)

documentation

README

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.

Commit count: 27

cargo fmt