Passgen is a clean and tidy, random password generator created with primarily simplicity and minimalism in mind.
It seeds from
/dev/random by default, however
/dev/urandom can be selected if security isn’t such a concern and speed is.
Passgen is a command line tool to generate a secure password by means of selecting random characters from a default or user-defined character pool. The length of the password can be set by the user on the command line. Here are some example uses:
$ passgen # Default length (8) !}p>YSxb $ passgen 10 # 10 characters long S=wPk"RqNt $ passgen 16 # 16 characters long yRs4'fUzMT4w3;QL $ passgen 30 # 30 characters long Z[i3~=E35([CFv+ZU3lsXiMU%3<ly5
Custom pool example
$ passgen 4 0123456789 # 4-digit pin 9624 $ passgen 8 0123456789 # 8-digit pin 60631154