Skip to content

Instantly share code, notes, and snippets.

@phylake
Last active January 1, 2016 23:09
Show Gist options
  • Save phylake/8215111 to your computer and use it in GitHub Desktop.
Save phylake/8215111 to your computer and use it in GitHub Desktop.
#!/bin/bash
# LC_CTYPE is for darwin
cat /dev/urandom | LC_CTYPE=C tr -cd 'a-f0-9' | head -c 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment