pwquality

Crates.iopwquality
lib.rspwquality
version0.2.0
sourcesrc
created_at2017-11-24 10:05:06.655109
updated_at2017-11-26 16:15:28.4462
descriptionBinding for pwquality.
homepagehttps://github.com/satabin/pwquality-rs
repositoryhttps://github.com/satabin/pwquality-rs
max_upload_size
id40372
size19,878
Lucas Satabin (satabin)

documentation

README

pwquality

pwquality binding for rust.

Usage

Add the dependency to your Cargo.toml file.

[dependencies]
pwquality = "0.2"

Then import it in your code.

extern crate pwquality;

For example:

use pwquality::PWQuality;

let pwq = PWQuality::new();

pwq.set_min_length(32);

let generated = pwq.generate_password(256);
Commit count: 9

cargo fmt