rndpassword - a command-line frontend to Data::SimplePassword
rndpassword [-hue] [-t <type>] [-n <length>]
Options: -h show usage -t set character type -n set length (default: 8 byte) -e endless mode on -u try to use non-blocking RNG (/dev/urandom) Types: (output sample) default 0xaVbi3O2Lz8E69s # 0..9 a..z A..Z ascii n:.T<Gr!,e*[k=eu # visible ascii (a.k.a. spaghetti) base64 PC2gb5/8+fBDuw+d # 0..9 a..z A..Z /+ simple xek4imbjcmctsxd3 # 0..9 a..z alpha femvifzscyvvlwvn # a..z digit 7563919623282657 # 0..9 binary 1001011110000101 morse -.--...-.--.-..- Examples: shell> rndpassword shell> rndpassword 16 shell> rndpassword -n 16 shell> rndpassword -t digit -n 32 shell> rndpassword -t binary -n 1024 shell> rndpassword -t ascii -u -e # type Ctrl-C to terminate
Data::SimplePassword
To install Data::SimplePassword, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::SimplePassword
CPAN shell
perl -MCPAN -e shell install Data::SimplePassword
For more information on module installation, please visit the detailed CPAN module installation guide.