Created
May 9, 2022 10:01
-
-
Save eiskalteschatten/3c1b29c26c625568fcc3be892f9bcd40 to your computer and use it in GitHub Desktop.
Generate a Secret or Key in the Command Line with Node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
node -e "console.log(require('crypto').randomBytes(256).toString('base64')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment