Post
Topic
Board Development & Technical Discussion
Merits 2 from 1 user
Re: Is it possible to guess a privkey?
by
shorena
on 24/11/2015, 13:07:49 UTC
⭐ Merited by ABCbits (2)
Assuming I was lucky enough to mine the exact same address, could I get the privkey?

Yes, if you got the exact same address, then you would have one of the 7.9 X 1028 (on average) working private keys for that address.
wait im not quite sure i understand, are you saying that every bitcoin address has more than 1 private key associated with it? I've always thought it was 1private key that links to 1 address

That is correct. There are 2256 private keys with 2256 public keys. The public key is hashed with ripemd160(sha256(pubkey)). Ripemd160 is limited to 2160 possible solutions thus[1] there are 2160 possible addresses with 2256 private keys or 2256/2160 = 296 private keys per address. 296 ~7.9*1028

[1] under some minor assumptions like even distribution