Skip to content

Tacentio/password-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

[dependencies]
password-gen = "<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 - Enable serde Serialization and Deserialization support on PasswordOptions