Created
July 23, 2021 03:37
-
-
Save gaurangrshah/24622923f9198d9e0622a8dff5b263b1 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
const crypto = require("crypto"); | |
const secretKey = crypto.randomBytes(8).toString("hex"); | |
console.log(secretKey); | |
// run in terminal as `node keygen.js` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment