Skip to content

Instantly share code, notes, and snippets.

@chris-martin
Last active July 22, 2016 14:07
Show Gist options
  • Save chris-martin/e72337a13374cbbbf7e80ff275d0fce3 to your computer and use it in GitHub Desktop.
Save chris-martin/e72337a13374cbbbf7e80ff275d0fce3 to your computer and use it in GitHub Desktop.

Here's a simple way to generate a good password that's easy to remember.

curl 'https://raw.githubusercontent.com/trezor/python-mnemonic/master/mnemonic/wordlist/english.txt' \
  | shuf | head -n 4 | tr '\n' ' '

The password will consist of four random words. The words are pulled from a dictionary with 2048 = 211 entries, so the password's has 44 bits of entropy.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment