Skip to content

Instantly share code, notes, and snippets.

@bojidaryovchev
Last active January 13, 2023 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bojidaryovchev/887e10431cbab8076c6c0118de719e07 to your computer and use it in GitHub Desktop.
Save bojidaryovchev/887e10431cbab8076c6c0118de719e07 to your computer and use it in GitHub Desktop.
generate random hex using node.js in one line of code
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