Last active
September 23, 2021 18:14
-
-
Save chris13524/cdaddf6ce9e478d00d6f6e668898c845 to your computer and use it in GitHub Desktop.
Alias to generate a random 256-bit password or secret key
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
alias genpass="dd if=/dev/random bs=1 count=32 2>/dev/null | base64 -w 0 | rev | cut -b 2- | rev" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment