Bitcoin Forum
June 27, 2024, 09:03:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Is it possible to guess a privkey?  (Read 3893 times)
letsplayagame
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
December 05, 2015, 09:45:33 PM
 #41

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

Basically you have a better chance of winning the lottery AND being hit by lightning than guessing the correct private key for a given address. As pointed about in a prior post, the math can change drastically if a faulty RNG was used.

Chess, Bitcoin, Privacy and Freedom
Code:
 Make BTC Donations via XMR.TO or Shapeshift XMR: 47nMGDMQxEB8CWpWT7QgBLDmTSxgjm9831dVeu24ebCeH8gNPG9RvZAYoPxW2JniKjeq5LXZafwdPWH7AmX2NVji3yYKy76 
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!