Skip to content

Instantly share code, notes, and snippets.

@yrro
Created October 8, 2013 14:53
Show Gist options
  • Save yrro/6886015 to your computer and use it in GitHub Desktop.
Save yrro/6886015 to your computer and use it in GitHub Desktop.
Generating a 256-bit passphrase with Electrum
$ x=$(od -v -t x1 -A n -N $((256/8)) < /dev/urandom | tr -d '[:space:]')
$ echo $x
807ee2385fb310491e126f248f66fded432d438b1a00133cf00456e85e59f04a
$ python mnemonic.py $x
aside enough match affection fill conversation replace toe mud forget enough bloom gently sunlight out relationship gentle lovely claw dot illuminate marry king grant
$ python mnemonic.py aside enough match affection fill conversation replace toe mud forget enough bloom gently sunlight out relationship gentle lovely claw dot illuminate marry king grant
807ee2385fb310491e126f248f66fded432d438b1a00133cf00456e85e59f04a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment