Post
Topic
Board Bitcoin Technical Support
Topic OP
WIF key to Bitcoin Address PHP Script Required
by
WAHXTIPL
on 13/01/2016, 13:39:15 UTC
Hi All,

I am looking for little technical support. I am looking for easy and handy PHP Script for converting WIF key to Bitcoin address.

E.g. $PublicAddress = hash("sha256", $WIFKey, false);
Echo $PublicAddress;

I was thinking Bitcoin works on SHA256. I tried above code its not working. It's not giving desired outcome.

Can anyone help noon here?

Please note that I don't want to generate any new private key or verify any key. Just conversion

E.g. private key "5Hpcd....." = Public Address "1dfy...."

Please post only conversion part. Bored with ECDSA studying. Does not make any sense.