checkpwn_lib 0.1.0

Library to interact with the HIBP API
Documentation

checkpwn-lib Build Status codecov 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 is licensed under the MIT license. See the LICENSE file for more information.