Created
August 16, 2017 01:40
-
-
Save aunyks/c4d8ec4c03f7cf31f5040902a7793b31 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| var crypto = require('crypto'); | |
| // Create a new random 32-byte private key. | |
| function createPrivateKey(){ | |
| return crypto.randomBytes(32); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment