A rust library for generating passwords.
- Random Xkcd-esque passwords. Uses this wordlist.
- Random ASCII (extended) passwords.
- Random PIN numbers.
- Random Alphanumeric passwords.
Add this to your Cargo.toml
[dependencies]
password-gen = "<latest-version>
To get started, see the api documentation
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 |
cereal
- Enableserde
Serialization
andDeserialization
support onPasswordOptions