Skip to content

Instantly share code, notes, and snippets.

@ursachec
Created January 8, 2014 22:05
Show Gist options
  • Save ursachec/8325333 to your computer and use it in GitHub Desktop.
Save ursachec/8325333 to your computer and use it in GitHub Desktop.
Read random bytes with dd from /dev/random and format with hexdump.
dd if=/dev/urandom bs=1 count=2 2>/dev/null | hexdump -v -e '1/1 "%u"'; echo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment