Title:   Post by: flibbr on September 01, 2013, 03:35:40 PM  
Title: Re: Validate public key + Verify public key matches address - PHP/JS Post by: jackjack on September 01, 2013, 06:15:35 PM I know the wiki contains what you want but I don't know in what pages
Title: Re: Validate public key + Verify public key matches address - PHP/JS Post by: fpgaminer on September 01, 2013, 09:52:41 PM 2) Given a public key, you can calculate the address. Check this wiki page (https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses) for instructions on how addresses are calculated from public keys.
1) Well, you can verify that a public key (a point) is on the secp256k1 curve (the elliptic curve used by Bitcoin). That proves that a corresponding private key exists (but you don't know which one). I don't have a reference off the top of my head for you, but Google can probably help. |