Post
Topic
Board Bitcoin Technical Support
Re: Problem with my private key
by
mostafacar20
on 24/04/2019, 10:51:50 UTC
The script you linked only generates adresses.

You can't recover any private keys with any script, since it is a one way function.

KwFAa6AumokBD2dVqQLPou42jHiVsvThY1n25HJ8Ji8REf1wxAQb seems to correlate with 1Ga6WqY53kc14BRqmR4wbwi9zwbtmtiptC (or uncompressed 1LKqSeEt7z1YkeZuTP85cg1B4AdyoNhpdj)

Both of which hold 0 balance and have no transactions?


Note that you shouldn't post your private keys in public, as you're bound to get robbed big time.

My question is how can I recover my private key with this script . Is there any way to check the algorithm and create correct private key from wrong private key that generated?


If you've lost a number of characters from your private key, it's possible to bruteforce, yes, but i don't think that's what you're asking for here, is it?


Thank you for your reply.

This was a sample output from the script . My private key also start with K . Is there any mistake in this script generating pair of keys?
I tested this script 3 times and I was sure that keys are correct , but the tested private keys started with 5 . My key now started with K .

I haven't extensively looked into it, but the script seems to be from 2011,12.
Hence why they're not using compressed public keys, but uncompressed ones. There's nothing necessarily wrong with that, it's just that compressed ones are smaller, and faster to generate (?)

Also, about the 5 vs K, if your private key starts with a K their public key is compressed.

If they start with a 5, they're not. (hence why the script gives you 5..., i'm pretty sure there was no compression of keys back then..)
Read more about it here; https://bitcointalk.org/index.php?topic=80861.0

What's your idea about above images bro?