Skip to content

Instantly share code, notes, and snippets.

@n370
Created February 1, 2016 18:09
Show Gist options
  • Select an option

  • Save n370/ad3b1d3eee010dbfe59a to your computer and use it in GitHub Desktop.

Select an option

Save n370/ad3b1d3eee010dbfe59a to your computer and use it in GitHub Desktop.
Create a 16 bytes hexadecimal string with node
#! /env/node
node -p "require('crypto').randomBytes(16).toString('hex')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment