Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Topic OP
Problem with my private key
by
mostafacar20
on 24/04/2019, 10:02:35 UTC
⭐ Merited by LoyceV (1)
Hi dear friends,

I used this script for generate public and private keys :

https://bitcointalk.org/index.php?topic=23081.0
https://github.com/RobKohr/PHP-Bitcoin-Address-Creator

I generated address and sent coins to public key . Now I want to import the private key and use my coins I see the blockchain site says invalid private key .
I checked the script now and I see the private keys that start with K seems to be wrong!

Sample output :

Array
(
    [private] => KwFAa6AumokBD2dVqQLPou42jHiVsvThY1n25HJ8Ji8REf1wxAQb
    [public] => 1Kxrx4WXNBF9dSzDqsJHFjdAEHo8ws1smL
)

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?

Thanks for your help my friends