gen-secret
v0.2.0
Published
Generate a secret key of arbitrary length using OpenSSL, for use with JWTs or other custom encoding
Downloads
3
Readme
gen-secret
Uses openssl-nodejs
package to generate a random base64 secret key of arbitrary length
Usage
$ npx gen-secret
Options
-b, --bytes : change number of bytes (default is 32)
--hex: generate hex digits instead of base64