Photo by Simon Rae on Unsplash

Member-only story

abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon cactus

Prof Bill Buchanan OBE FRSE

--

What happens when you can’t access your cryptowallet, and you have forgotten your password? Well, hopefully, you have stored the encryption key used by storing a 12-word phase:

So, how do we recover this? Well we can use BIP39 and which is a Deterministic Key Generation method. With this we can derive an encryption keys for a known phrase. In the BIP39 standard there are 2,048 words, and if each phrase has 12 worlds, then there are 2048¹² different permutation — giving 2¹³² different bit values (or 132 bits) . The first few words are [list]:

abandon
ability
able
about
above
absent
absorb
abstract
absurd
abuse
access
accident
account
accuse
achieve

The Golang code to covert is [here]:

package mainimport (	"encoding/hex"
"fmt"
"github.com/tyler-smith/go-bip39"
"os"
)
func main() { ent:="00000000000000000000000000000000"
argCount := len(os.Args[1:])
if (argCount>0) { ent= (os.Args[1])}
entropy,_ :=…

--

--

No responses yet