Skip to content

Instantly share code, notes, and snippets.

@bydavy
Last active August 29, 2015 14:08
Show Gist options
  • Save bydavy/20b186bbb1a74d825a82 to your computer and use it in GitHub Desktop.
Save bydavy/20b186bbb1a74d825a82 to your computer and use it in GitHub Desktop.
Generate a random password
# Dead simple
head -c 16 /dev/urandom | shasum | cut -c1-10
# More secure
head -c 16 /dev/urandom | base64 | cut -c1-10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment