Skip to content

Instantly share code, notes, and snippets.

@sowbug
Created November 5, 2017 05:11
Show Gist options
  • Save sowbug/5628ab9cd4a21c39808bf1d7113ef1f1 to your computer and use it in GitHub Desktop.
Save sowbug/5628ab9cd4a21c39808bf1d7113ef1f1 to your computer and use it in GitHub Desktop.
Generate 128-bit base58 passphrase from shell without dependencies
$ cat /dev/urandom | base64 | tr -cd [:alnum:] | tr -d [0OIl] | head -c 22
# same but emit QR code
$ cat /dev/urandom | base64 | tr -cd [:alnum:] | tr -d [0OIl] | head -c 22 | qr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment