Created
November 22, 2018 04:29
-
-
Save maxp/bfa363905cdd5a23dea7d537239643d1 to your computer and use it in GitHub Desktop.
oneliner: generate random hex using nodejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node -e "console.log(require('crypto').randomBytes(20).toString('hex'))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment