Skip to content

Instantly share code, notes, and snippets.

@alfawal
Last active May 22, 2022 10:41
Show Gist options
  • Save alfawal/708428455acca889bb32aaf47b166196 to your computer and use it in GitHub Desktop.
Save alfawal/708428455acca889bb32aaf47b166196 to your computer and use it in GitHub Desktop.
Generate a secret key with Nodejs
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment