CRYPTO NEWS

6 Questions for Kim Hamilton Duffy of Centre

Why do compressed and uncompressed public keys have to produce different addresses?

I am reading through the "Mastering Bitcoin" book. I understand that in the beginning the public key was both the x and y on the elliptic curve. Then it was optimised to only contain the x, and the y could be derived by solving the curve equation. In practice wallet A and wallet B may::Listen

I am reading through the "Mastering Bitcoin" book. I understand that in the beginning the public key was both the x and y on the elliptic curve. Then it was optimised to only contain the x, and the y could be derived by solving the curve equation. In practice wallet A and wallet B may generate different public key (assuming one uses the compressed and the other uses the uncompressed algo) Different public keys will hash to different addresses and this is a problem – wallets dont know where to look for coins when importing private keys. That is fixed by adding stuff to the private key to designate which version is used.

I hope i understand correctly up until this point.

My question is: Why cant you just uncompress the compressed public key (effectively making it an uncompressed public key) and then derive the address. That way even if you use the compressed key, address will be exactly the same as the uncompressed one?

Crypto Hats, Crypto Shirts, Crypto Socks, Crypto Clothing

6 Questions for Kim Hamilton Duffy of Centre

Shopping cart
There are no products in the cart!
Continue shopping
0