Created
November 26, 2021 03:17
-
-
Save coreymcmahon/d1d06dece2e63eb13ae193b7c96c22eb to your computer and use it in GitHub Desktop.
1-liner cryptographically secure random string (Node)
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
# Using node | |
node -e 'require("crypto").randomBytes(48, (e, b) => console.log(b.toString("hex")))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment