My favorites | Sign in
Project Home Wiki Issues Source
Project Information
Members

Notice: It was moved to github: http://github.com/yarcowang/genpwd

$genpwd -h
genpwd v0.3 copyright and copyleft all by yarco.
You could use it anywhere but without business.(08.03.13-09.9.21)
(If you use it in business, you should pay for some money...)

genpwd [-h] [-c] [-adepvxA] [-l <level>] <n> -- output random string for password or other purpose
-a
    equal to -l 2 or -l alphanum
-c
    make it clear. that means
      0 and o would't be choosen
      1 and l would't be choosen
      2 and z would't be choosen
-d
    equal to -l 0 or -l digit
-e
    equal to -l 5 or -l email
-h
    given this help
-l <level>
    <level> could be one of the following numbers or the meanning like 'digit', default level is 4
    0 or digit means 0-9, equal to -d
    1 or hex means 0-9 a-f, equal to -x
    2 or alphanum means 0-9 a-z, equal to -a
    3 or varname means 0-9 a-z _, equal to -v
    4 or alphanum+ means 0-9 a-z _ A-Z, equal to -A
    5 or email means 0-9 a-z _ A-Z .@-, equal to -e
    6 or all means all pritable charactor, equal to -p
-p
    equal to -l 6 or -l all
-s
    show valid charactor list
-v
    equal to -l 3 or -l varname
-x
    equal to -l 1 or -l hex
-A
    equal to -l 4 or -l alphanum
<n>
    the width of the password string you'd like to use, default is 8

Example:
$ genpwd 
6N7kr2vb
Powered by Google Project Hosting