Created
January 25, 2021 21:08
-
-
Save aspen-roller/8872c65d63bba2b27b444f39e8416b5a to your computer and use it in GitHub Desktop.
generate an oidc secret #util
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
# 16 bytes | |
hexdump -n 16 -e '4/4 "%08X" 1 "\n"' /dev/random | |
# 32 bytes | |
hexdump -n 32 -e '8/4 "%08X" 1 "\n"' /dev/random | |
# ref: https://stackoverflow.com/questions/34328759/how-to-get-a-random-string-of-32-hexadecimal-digits-through-command-line/34329057 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment