Pages:
Author

Topic: How do I restore the last 7 characters of the private key? (Read 847 times)

full member
Activity: 431
Merit: 105
because in the last post the app asks for it and some other do need it to.
but thought it would help a bit.

member
Activity: 180
Merit: 38
would love to try it out.  me too. Smiley

I do not understand what you want to try out exactly.
Do you have a incomplete key ?

Or do you just want to find random key's by rotating numbers ?

In that case there are better formats to work with because this type of key (WIF) is unsuitable for that purpose since it uses some additional information so you will generate an awful lot of invalid key's this way.
It's only suitable when you have a large portion of a known but incomplete key and need to find out the missing numbers.

For example this is useful when you have a damaged QR Code.
Suppose you printed out your paper wallet and someone accidentally spilled a cup of coffee over it.
Inktjet and coffee do not mix well together.
However, you was fast enough to grab it out of the liquid before it got soaked entirely, but some bits got hit and faded away into eternity.

In that case you try to decode what is left of the QR Code and then you can start rotating numbers on the missing parts.
But that's going to take a lot of time and a lot of invalid keys and the rate of success depends on the amount of data that you was able to recover from the QR Code or whatever is the source of the remaining data.

This does not happen all that much or at least i can not imagine this would happen a lot so im a bit curious about the intentions of these members that say they want to try this.  Smiley
legendary
Activity: 3472
Merit: 10611
what is the address that goes with that privkey.
are you still looking for the pk.

why do you ask? i believe that was just a random example that OP posted to show what he means so it shouldn't matter. besides all variations are already posted before and if you are curious you could look at those keys.
full member
Activity: 431
Merit: 105
what is the address that goes with that privkey.
are you still looking for the pk.

https://bitcointalksearch.org/topic/m.55056044
member
Activity: 180
Merit: 38
I know what this is about, voprosbitcoin have you tried decoding these wif's you have into their hex or integer value ?  Grin

Do they start with 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsre ?  Cheesy
  
See here https://www.npmjs.com/package/wif

Oh and if you are interested to know the source of these keys take a look here: https://privatekeys.pw/puzzles/bitcoin-puzzle-tx
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org

Thanks. It helped me. Tell me how to make the data generated by the program written to a text file?

I will add this option soon.
If you are using linux, you may redirect output to file ..... > file.txt, I think on Mac you may do it too.
On Windows I am not sure about it.

Yes, I have Windows and I really need to output data to a text file.

This is also possible on Windows, you just open Command Prompt, run the program as you would on linux and use the same > file.txt syntax to output to a file. Command Prompt also supports piping output and input from files.
newbie
Activity: 9
Merit: 0

Thanks. It helped me. Tell me how to make the data generated by the program written to a text file?

I will add this option soon.
If you are using linux, you may redirect output to file ..... > file.txt, I think on Mac you may do it too.
On Windows I am not sure about it.

Yes, I have Windows and I really need to output data to a text file.

Done!

https://github.com/PawelGorny/WifSolver/releases/tag/v0.2

Thank you very much. At the first opportunity, I will definitely thank you financially.
legendary
Activity: 952
Merit: 1385

Thanks. It helped me. Tell me how to make the data generated by the program written to a text file?

I will add this option soon.
If you are using linux, you may redirect output to file ..... > file.txt, I think on Mac you may do it too.
On Windows I am not sure about it.

Yes, I have Windows and I really need to output data to a text file.

Done!

https://github.com/PawelGorny/WifSolver/releases/tag/v0.2
legendary
Activity: 1624
Merit: 2481
Yes, I have Windows and I really need to output data to a text file.

Use a proper OS a.k.a. linux for faster and more secure handling of sensitive data Tongue

For windows, it works just like with linux.
You can redirect the output of a program running in the command line using >
If you need to add content to a file, use >>
newbie
Activity: 9
Merit: 0

Thanks. It helped me. Tell me how to make the data generated by the program written to a text file?

I will add this option soon.
If you are using linux, you may redirect output to file ..... > file.txt, I think on Mac you may do it too.
On Windows I am not sure about it.

Yes, I have Windows and I really need to output data to a text file.
legendary
Activity: 952
Merit: 1385

Thanks. It helped me. Tell me how to make the data generated by the program written to a text file?

I will add this option soon.
If you are using linux, you may redirect output to file ..... > file.txt, I think on Mac you may do it too.
On Windows I am not sure about it.
newbie
Activity: 9
Merit: 0
legendary
Activity: 952
Merit: 1385
How do I turn this 5KRFMvDqVFALC3t2qiRuctoxGLoTqRuLdoqqpdqustqv into hex if it has missing letters?

Just add '1111111'.
Easy to test on https://learnmeabitcoin.com/technical/wif
And it shows that private key must be in the range from d314ba22f16d7e8d5d0f629deca7bc6f2133296378bb300116b40afbb1a4a20a to d314ba22f16d7e8d5d0f629deca7bc6f2133296378bb300116b40afbb1a4a40c
full member
Activity: 706
Merit: 111
How do I turn this 5KRFMvDqVFALC3t2qiRuctoxGLoTqRuLdoqqpdqustqv into hex if it has missing letters?
legendary
Activity: 952
Merit: 1385
Hi, everybody.
You can suggest a program to restore the last 7 characters of the bitcoin private key.
Or a program that generates all possible keys with the last 7 characters.
For example there is a key 5KRFMvDqVFALC3t2qiRuctoxGLoTqRuLdoqqpdqustqv but it does not contain the last 7 characters. How do I generate all possible keys with initial characters ?
Would take less than 2 minutes to recover all addresses with all 7 possible characters.

10 seconds I would be say.
Well, it took me a minute to get numbers and input into script. Once script ran, it took .5 seconds.  Grin

High five!
full member
Activity: 1162
Merit: 237
Shooters Shoot...
FinderOuter is currently very inefficient for recovering this particular case because it will go through all possible keys which are 2,207,984,167,552 for 7 missing characters which on my PC would take 16 days with version 0.4.1.0 (latest stable release) and about 2 days if you compile using master at latest commit.
Meanwhile I can manually count only 514 valid keys for the example posted in OP with the same starting 44 characters in a second. But I haven't released this code yet because I don't have the mathematical proof for it yet so am not sure about its correctness.

To OP, if you are not in a rush you should wait for version 0.5.0.0 to be released which will include lots of optimization including special cases like this.
How did you come up with "2,207,984,167,552" possibilities? I come up with right at 500+ possibilities.
Edit: I read where you come up with same number as me, 514.
full member
Activity: 1162
Merit: 237
Shooters Shoot...
Hi, everybody.
You can suggest a program to restore the last 7 characters of the bitcoin private key.
Or a program that generates all possible keys with the last 7 characters.
For example there is a key 5KRFMvDqVFALC3t2qiRuctoxGLoTqRuLdoqqpdqustqv but it does not contain the last 7 characters. How do I generate all possible keys with initial characters ?
Would take less than 2 minutes to recover all addresses with all 7 possible characters.

10 seconds I would be say.
Well, it took me a minute to get numbers and input into script. Once script ran, it took .5 seconds.  Grin
legendary
Activity: 952
Merit: 1385
Hi, everybody.
You can suggest a program to restore the last 7 characters of the bitcoin private key.
Or a program that generates all possible keys with the last 7 characters.
For example there is a key 5KRFMvDqVFALC3t2qiRuctoxGLoTqRuLdoqqpdqustqv but it does not contain the last 7 characters. How do I generate all possible keys with initial characters ?
Would take less than 2 minutes to recover all addresses with all 7 possible characters.

10 seconds I would say.
full member
Activity: 1162
Merit: 237
Shooters Shoot...
Hi, everybody.
You can suggest a program to restore the last 7 characters of the bitcoin private key.
Or a program that generates all possible keys with the last 7 characters.
For example there is a key 5KRFMvDqVFALC3t2qiRuctoxGLoTqRuLdoqqpdqustqv but it does not contain the last 7 characters. How do I generate all possible keys with initial characters ?
Would take less than 2 minutes to recover all addresses with all 7 possible characters.
Pages:
Jump to: