Created
June 5, 2025 00:01
-
-
Save sen0rxol0/86f3999e0703b094f5d3956dd786c06f to your computer and use it in GitHub Desktop.
Generating random string in bash
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 24 | |
openssl rand -hex 24 | |
xxd -l24 -ps /dev/urandom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment