Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of recovering a private key missing a lot of characters #20

Open
emanyaster opened this issue Mar 5, 2021 · 17 comments
Open
Labels
question Further information is requested

Comments

@emanyaster
Copy link

Is it possible for the 52 character private key to find 19 characters missing?

@Coding-Enthusiast Coding-Enthusiast changed the title help me!!! Possibility of recovering a private key missing a lot of characters Mar 5, 2021
@Coding-Enthusiast Coding-Enthusiast added the question Further information is requested label Mar 5, 2021
@Coding-Enthusiast
Copy link
Owner

The current algorithm has to check all the variations of the WIFnote. To know how many keys it checks you can compute 58x where x is the number of missing characters. For example with 19 missing chars that would be 3e+33.
Using only CPU between 20 to 40 million keys are checked per second (it varies based on CPU and position of the missing char). You can compute the time it takes to find the key by knowing these two values.
In short best case scenario is currently finding a key missing up to 7 characters which would take less than a day.

note: There is a special case that all missing characters are from the end of the given WIF, in this case FinderOuter can find the correct key missing up to 11 character within seconds.

@emanyaster
Copy link
Author

yes 19 characters are missing from the end

@emanyaster
Copy link
Author

thanks for your reply

@emanyaster
Copy link
Author

I have a private key that starts with K and unfortunately 19 characters are missing from the end, what is the estimated time for you?

@emanyaster
Copy link
Author

It has been working continuously for 4 days but unfortunately it has yielded no results.

@Coding-Enthusiast
Copy link
Owner

I have a private key that starts with K and unfortunately 19 characters are missing from the end, what is the estimated time for you?

The special case only works for up to 11 characters from the end. With 19 it will be as I said above.

@IBman1
Copy link

IBman1 commented May 30, 2021

Is it possible for the 52 character private key to find 19 characters missing?

yes it is possible, but it woud take long time not less than a month. i had similar experiance where i had to build it byte by byte. you can decode the key and build it manualy. once you are done you have to brute force it to recover the missing 9 bytes.

@emanyaster
Copy link
Author

emanyaster commented May 30, 2021 via email

Repository owner deleted a comment from IBman1 May 31, 2021
@Coding-Enthusiast
Copy link
Owner

@emanyaster Be careful who you trust and never send your private key to anyone specially when contacted privately through Email.

@emanyaster
Copy link
Author

emanyaster commented May 31, 2021 via email

@jlfv777
Copy link

jlfv777 commented Aug 16, 2022

I have 18 btc in my address and first 12 keys is erased in wif format is it possible to get find that first 12key

@sokary2004
Copy link

I have 18 btc in my address and first 12 keys is erased in wif format is it possible to get find that first 12key

yes you can

@iamchaay
Copy link

iamchaay commented Jan 12, 2023

Hello, I have a private key or 4 characters are missing at the beginning like that for example KzuH****5qfHezWings3pQueKxBwAhHrieURgMuwubRhN2eumrMT (it's not this key it's just an example). Is it possible to find the 4 missing characters? If so, in how long?

@Coding-Enthusiast
Copy link
Owner

Hello, I have a private key or 4 characters are missing at the beginning like that for example KzuH****5qfHezWings3pQueKxBwAhHrieURgMuwubRhN2eumrMT (it's not this key it's just an example). Is it possible to find the 4 missing characters? If so, in how long?

Yes. Finding 4 missing characters, regardless of their position, should take less than 5 seconds assuming you know the correct position of those missing characters and the rest of the characters are valid.

@iamchaay
Copy link

Yes. Finding 4 missing characters, regardless of their position, should take less than 5 seconds assuming you know the correct position of those missing characters and the rest of the characters are valid.

The 4 missing characters are in the same place as in the example I showed at the top and the other characters are valid. thank you very much for your answer.

@iamchaay
Copy link

@Coding-Enthusiast is it possible to find the end of the private key without knowing the bitcoin wallet address?

@Coding-Enthusiast
Copy link
Owner

@Coding-Enthusiast is it possible to find the end of the private key without knowing the bitcoin wallet address?

It depends on how many characters are missing from the end. With few characters (up to 6) it can be recovered in an instant and without needing the address. But as the number of missing characters grow, the number of valid chars in those missing positions grow too.
For example with 10 chars missing at the end, we have millions of valid permutations so there needs to be an address to check each of them against that and eliminate irrelevant ones.

In the "Missing Base58" option click on the Example button and see examples 3, 4 and 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants