DEV Community

Discussion on: what is bip39?

Collapse
 
bgadrian profile image
Adrian B.G.

I came across this algorithm when I was learning about blockchains. To learn it I wrote a Go implementation, is a pretty cool algorithm and simple github.com/bgadrian/go-mnemonic

Basically you have 2048 simple words in a dictionary. Each line has one word. When you type a password like "about zoo" we look in the dictionary and translate it to "4 2048", which are the lines of the words in the dictionary. With these numbers you can create "stuff", as seeds for random numbers or private keys.

You can read the original paper here github.com/bitcoin/bips/blob/maste...