Skip to content

zacnyjegomosc/password_generator

Repository files navigation

Password generator

Build Status Go Report Card codecov

Simple and cryptographic secure random password generator (or another string).

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).

How to install?

$ go get -u github.com/zacnyjegomosc/password_generator

Usage

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

License

This code is licensed under the MIT license.

About

Simple and secure random password command-line generator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages