Skip to content

Instantly share code, notes, and snippets.

@ichaida
Created October 14, 2016 18:56
Show Gist options
  • Save ichaida/49a3973213596139c7ff03a2bc031a79 to your computer and use it in GitHub Desktop.
Save ichaida/49a3973213596139c7ff03a2bc031a79 to your computer and use it in GitHub Desktop.
Shell script that generate random tokens
echo `dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64 | tr -d "=+/" | dd bs=32 count=1 2>/dev/null`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment