Generate a random string.
You can download the rstring.exe
directly OR you can do the following;
$ git clone https://github.com/scottricity/rstring.git
$ cd rstring
$ npm run build
$ rstring [size]
- If
size
is omitted, it will choose a random size between 12 and 30, or else it will be the size entered - Will generate a random string
$ rstring [size] [args]
- Args include;
-l |
Include lower case letters | abcdefghijklmnopqrstuvwxyz |
-u |
Include upper case letters | ABCDEFGHIJKLMNOPQRSTUVWXYZ |
-n |
Include numbers | 1234567890 |
-s |
Include special characters | !@#$%^&\*(){}`~/;. |
$ rstring
Result: ZaPNTx@0k&.tyleXI9.n~5/.BB$.nW
$ rstring 26
Result: ~OM!D.{Zanqi4M.A*rko)NQwG#
$ rstring 26 -l
Result: ayhwzacflnvulujcatrdekhcud