rs-password-utils

pipeline

This library contains password utilities and is written in Rust.

Currently it offers:

The check implementation leverages the k-anonimity API and therefore, the password is not used in the API calls in any form (not even hashed).

Usage

The utility can be used as a library, or as an executable:

Library

```rust extern crate rspasswordutils; use std::result::Result;

[tokio::main]

async fn main() -> Result<(), rspasswordutils::PasswordUtilsError> { let ispwned = rspasswordutils::pwned::ispwned("test").await?;

println!("The password is pwned: {}", is_pwned);

Ok(())

} ```

Executable

Having rust installed, you may install rs-password-utils using cargo:

When the installation completes, issuing the following command:

rs-password-utils --help

should give you an output like:

```rust Password utilities, written in Rust.

Usage: rs-password-utils pwned rs-password-utils dice [(-w )] rs-password-utils [-h]

Options: -w --words The amount of words that should comprise the passphrase -h --help Show this screen. ```

License

At your option, under: