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
:
[]
= "1.0.0"
You can create a strong token including all leterals, numbers and special symbols with length 30 charasters:
let result = default.generate;
You can create a strong and usability password with length 8 charasters:
let result = default_strong_and_usab.generate;
You can create a set from your custom charset with length 8 charasters:
let result = new.set_custom_charset.generate;