linenoise is a library that generates strings of random characters (herein called a "noise") that can be used as reasonably secure passwords. It is an extraction of the password generator from my prior project genpw, and intended to be genpw's successor.
linenoise exports one function and one struct.
Noise is the noise-generating function. It is called with a
Parameters (see next paragraph.) It returns a
string and an
Parameters can be used to create a noise with the desired
string is the generated noise and the
"" and the
error is a typical Go error.
Parameters is a struct containing the following:
Length intis the length of the noise desired.
Upper boolindicates whether the noise should contain uppercase characters.
Lower boolindicates whether the noise should contain lowercase characters.
Digit boolindicates whether the noise should contain digits.
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
linenoise is available as open source under the terms of the MIT License.