This is a small private command line tool, written in Go for learning and having fun (and to have a straightforward, fast and secure password generator close at hand).
$ go get -u github.com/zacnyjegomosc/password_generator
If you want to generate one random string (lenght=32), just type:
$ password_generator
s2pVJRY9qgpKVFJoHrrqDzIHszFe0D4l
Also, you can provide some arguments:
$ password_generator --help
Usage of password_generator:
-count int
How many strings do you need? (default 1)
-len int
What length of string do you need? (default 32)
So an extended example will be:
$ password_generator --count 3 --len 12
YWHce8m8uyfk
0nYSsUkMjW7n
yx_8utaH66qq
This code is licensed under the MIT license.