Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nkhil
Created February 4, 2022 15:19
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 nkhil/9ca4dca80960d9c440e6544d9ebf8814 to your computer and use it in GitHub Desktop.
Save nkhil/9ca4dca80960d9c440e6544d9ebf8814 to your computer and use it in GitHub Desktop.
const crypto = require('crypto')
const NUMBER_OF_BYTES = 32
const randomBytes = crypto.randomBytes(NUMBER_OF_BYTES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment