Skip to content

Instantly share code, notes, and snippets.

@ValentaTomas
Last active August 14, 2023 16:01
Show Gist options
  • Save ValentaTomas/5e88d268280df69d3d5f0eb73685a8b1 to your computer and use it in GitHub Desktop.
Save ValentaTomas/5e88d268280df69d3d5f0eb73685a8b1 to your computer and use it in GitHub Desktop.
Generate random string (the chars are only hex, not the full alphanumeric!)
node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment