Skip to content

Instantly share code, notes, and snippets.

@mishbah
Created August 11, 2022 02:58
Show Gist options
  • Save mishbah/c26ff8d4487357bb5bb201006e0c461b to your computer and use it in GitHub Desktop.
Save mishbah/c26ff8d4487357bb5bb201006e0c461b to your computer and use it in GitHub Desktop.
generate random string for secret key using node
# in node repl, type...
require('crypto').randomBytes(64).toString('hex')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment