Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: lenara on April 17, 2016, 01:20:45 PM



Title: BIP39 mnemonic mixxed up :(
Post by: lenara on April 17, 2016, 01:20:45 PM
Hi guys,

I have backuped my BIP39 mnemonic words (12 words) but mixxed them to be safe :/
Now i have formatted my drive by accident and have my mnemonic backup but i cand get the order anymore :(
So i have the 12 words but i dont know which order they was.

Can i like use one of these javascript tools to generate a BIP39 mnemonic and just fill the wordlist with my words and let it guess the right order?

Please help,

thanks


Title: Re: BIP39 mnemonic mixxed up :(
Post by: lenara on April 17, 2016, 01:24:32 PM
I know i cant just permutate all the 12 words for every combination as it would be
12 * 11 * 10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 = over 479million different combinations but as not every combination would be a valid BIP39 mnemonic according to BIP39
(since the words require a particular structure (the last word is a checksum))


Title: Re: BIP39 mnemonic mixxed up :(
Post by: achow101 on April 17, 2016, 01:59:06 PM
Unfortunately it is going to be very difficult for you to recover your mnemonic. AFAIK, the only way you would be able to recover it is if you either remembered part of the order or if you brute forced it. Since you do know the words, brute forcing it might not take all that long to do with a decently powerful computer.


Title: Re: BIP39 mnemonic mixxed up :(
Post by: lenara on April 17, 2016, 02:40:10 PM
Can anyone help me with a script or something how i can achieve this? :/


Title: Re: BIP39 mnemonic mixxed up :(
Post by: Michail1 on July 28, 2017, 06:42:02 PM
Hate to bring up an old thread; however, it doesn't appear a good response was made.

Looking for something else and ran across this thread.

So.....
https://github.com/IntegersOfK/force39 (https://github.com/IntegersOfK/force39)


Title: Re: BIP39 mnemonic mixxed up :(
Post by: SopaXT on July 29, 2017, 11:56:11 AM
If you can remember one of the first addresses generated with that mnemonic, it's possible to recover the seed.
One user on Reddit had exactly the same issue, so someone made a C program to aid them.

https://www.reddit.com/r/Bitcoin/comments/6g0n4h/shuffled_seed/
(I also commented there, but my soltution isn't the best)