Skip to content

Instantly share code, notes, and snippets.

@stefanocudini
Created May 2, 2023 23:53
Show Gist options
  • Save stefanocudini/6d3634e7e40037d52c1f281438e75702 to your computer and use it in GitHub Desktop.
Save stefanocudini/6d3634e7e40037d52c1f281438e75702 to your computer and use it in GitHub Desktop.
cryptographically secure random
#https://security.stackexchange.com/questions/183948/unix-command-to-generate-cryptographically-secure-random-string
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment