Post
Topic
Board Development & Technical Discussion
Re: total bitcoin address 2^160 or 2^160/2
by
NotATether
on 04/10/2021, 17:48:58 UTC
1. Is it possible that Compressed address of Privatekey_X be the same as Uncompressed address of Privatekey_Y?
Yes. For an address to match two private keys, all that is required is that there is a collision on either the SHA256 or the RIPEMD160 when turning the public key in to an address. This could potentially happen with any combination of compressed and uncompressed public keys.

I think you mean, it's possible but almost never occurs in practice (or, due to the astronomical size of 2^160, theoretically, either).

Are these similar privatekeys have certain distances from each other? or they are random in the whole range?

The value at the beginning of your quote is a private key (actually, the number of possible private keys - it's called N), the one at the end is the maximum value for the X and Y coordinates (called P) and has nothing to do with private keys.