Last active
September 14, 2023 09:21
-
-
Save wipermail/038f7c8f6581deea0e209912dad19bc4 to your computer and use it in GitHub Desktop.
Generate random secret string *nix
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
openssl rand -base64 64 | |
gpg --gen-random 1 10 | base64 | |
gpg --gen-random 2 20 | base64 | |
gpg --gen-random 1 40 | base64 | |
gpg --gen-random 2 70 | base64 | |
head -c 35 /dev/random | base64 | |
head -c 60 /dev/random | base64 | |
date | sha256sum | base64 | head -c 45; echo | |
date | sha256sum | base64 | head -c 50; echo | |
date | sha256sum | base64 | head -c 60; echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment