Skip to content

Instantly share code, notes, and snippets.

@sen0rxol0
Created June 5, 2025 00:01
Show Gist options
  • Save sen0rxol0/86f3999e0703b094f5d3956dd786c06f to your computer and use it in GitHub Desktop.
Save sen0rxol0/86f3999e0703b094f5d3956dd786c06f to your computer and use it in GitHub Desktop.
Generating random string in bash
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