Skip to content

Instantly share code, notes, and snippets.

@c-alpha
Last active April 16, 2020 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c-alpha/504b878034467894362431f411eb5033 to your computer and use it in GitHub Desktop.
Save c-alpha/504b878034467894362431f411eb5033 to your computer and use it in GitHub Desktop.
[shell] generate arbitrary length random hex string
dd bs=1 count=16 if=/dev/random 2>/dev/null | od -An -v -t x1 | tr -d ' \n' ; echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment