Skip to content

Instantly share code, notes, and snippets.

@nkt
Created July 18, 2015 14:16
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 nkt/d1632c075861b8809571 to your computer and use it in GitHub Desktop.
Save nkt/d1632c075861b8809571 to your computer and use it in GitHub Desktop.
require('crypto').randomBytes(32, function(ex, buf) {
console.log(buf.toString('hex'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment