passgen-lib 1.0.1

Library for generating cryptographically secure passwords/tokens and other sets and sequences.
Documentation

alt text

Latest version Download docs.rs MIT Build Status made-with-rust

Readme in different languages: EN RU

⚙ Passgen-lib

Library for generating cryptographically secure passwords/tokens and other sets and sequences.

CSPRNGs Isaac64Rng and Hc128Rng are used.

Usage

Include library to your project Cargo.toml:

[dependencies]
passgenlib = "1.0.0"

You can create a strong token including all leterals, numbers and special symbols with length 30 charasters:

let result = Passgen::default().generate(30);

You can create a strong and usability password with length 8 charasters:

let result = Passgen::default_strong_and_usab().generate(8);

You can create a set from your custom charset with length 8 charasters:

let result = Passgen::new().set_custom_charset("bla@.321").generate(8);

More information in docs:

Doc

License

MIT