1.0.0 • Published 2 years ago

hayasaka v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Hayasaka

Hayasaka generates secure keys from your command line.

Installation

$ npm i hayasaka -g

You must install Hayasaka globally to be able to use it from the command line.

Options

  • -s, --strength: The strength of the key(s). See Key Strengths.
  • -n, --number: The number of keys to generate. Defaults to, and must be at least, 1.
  • -c, --copy: Copy the key to the clipboard.
  • -f, --file: The file to write the key to.
  • -r, --redact: Redact the key from the console.
  • -h, --help: Show the help message.

Key Strengths

Hayasaka supports 10 key strengths - four "standard" strengths and six "special" strengths.

Standard Strengths

StrengthDescriptionLengthExampleURL Safe?
decentShort keys suitable for securing your personal devices.101SVVvjDwsNYes
goodMore robust keys, suitable for securing things like web hosting accounts.15M%:?!J2+CjGifL*No
greatVery robust keys, suitable for administrative passwords or almost anything else.308$A>Blm?dzkzEPa0!8HET)rNe2'LS_No
epicExtremely robust keys, suitable for any 256-bit key requirement that cannot be satisfied by the previous strengths.32bPXapgKhC9PMXkxNwAvSjA54gBVnA7knYes

Special Strengths

StrengthDescriptionLengthExampleURL Safe?
wpa160160-bit WPA encryption keys.20u}EE_B`Wvir>Xt&|6|D[ | No
wpa504504-bit WPA encryption keys.63=sK(g,<L?q|$M^VMOuaBMe-D*<==13L59N5S0,DX4`zDBRz[4S>PP_p$p4`P(EGNo
wep6464-bit WEP encryption keys.5C116BYes
wep152152-bit WEP encryption keys.16B7F7783BBBE5F9DEYes
wep256256-bit WEP encryption keys.291A9C47C8A924D69F17EFD991A532CYes

Examples

Generate a decent key:

$ hayasaka -s decent

Generate a good key and copy it to the clipboard:

$ hayasaka -s good -c

Generate a great key, copy it to the clipboard, and redact it from the console:

$ hayasaka -s great -c -r

Generate five epic keys and write them to keys.txt:

$ hayasaka -s epic -n 5 -f keys.txt

Acknowledgements

Hayasaka uses a substantial amount of code from RandomKeygen.

License

Haysaka is licensed under the MIT License.

1.0.0

2 years ago