password-gen
A rust library for generating passwords.
Features
- Random Xkcd-esque passwords. Uses this wordlist.
- Random ASCII (extended) passwords.
- Random PIN numbers.
- Random Alphanumeric passwords.
Usage
Add this to your Cargo.toml
[]
= "<latest-version>
To get started, see the api documentation
Character Set
Supports different character sets each useful in their own right.
| CharSet | Example |
|---|---|
| Xkcd | underrogue/orchesography/ARAMITESS |
| Ascii | yB"hF<%\H |
| AsciiExtended | ÝýIêø¹Ü¹fBDI2î1Ù |
| Alphanumeric | bpM2vqmGRfzaSmm5 |
| Numbers | 9837 |
Feature Flags
cereal- EnableserdeSerializationandDeserializationsupport onPasswordOptions