Bitcoin Forum
October 18, 2018, 11:38:11 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: what if two people generate the same private key ? Is that possible  (Read 69 times)
walkerbitco
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
June 05, 2018, 03:21:29 AM
 #1

what if two people generate the same private key ? Is that possible
1539905891
Hero Member
*
Offline Offline

Posts: 1539905891

View Profile Personal Message (Offline)

Ignore
1539905891
Reply with quote  #2

1539905891
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Cryptocoinbob
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
June 05, 2018, 03:24:08 AM
 #2

Looking at the post, I thought "Can two people have the same DNA? "

So, I looked on google, and found that it is possible but very very very very rare.

https://www.nytimes.com/2008/03/11/health/11real.html


target
Legendary
*
Offline Offline

Activity: 1106
Merit: 1009


Semi-Decentralized Exchange


View Profile
June 05, 2018, 03:25:26 AM
 #3

what if two people generate the same private key ? Is that possible

Even  if its possible then what will happen then? Its not like the  can hack each other.
Who would have know we two have same private kay? This is not a problem  wwe woth can have the same password either but I don't think anyone can actually see we have same passsword which is p@ssw0rd. mnemonic phrase might be common.


                           ▄▄█▌
                       ▄▄██▀▀█▌
                    ▄██▀▀    █▌
 ▄              ▄▄██▀    ▄▀  █▌
▐███▄▄         ▐█▀     ▄█    █▌
▐█▌ ▀▀██▄      █▌      █ ▄▀  █▌
▐█▌    ▀▀██▄▄  █▌    ▄█▀▀    █▌
▐█▌   ▄    ▀██▄█▌  ▄█▀     ▄██
▐█▌   ▀█     ▀██▌ ▄█    ▄▄██▀
▐█▌  ▄  ▀▄    ▐█▌▄█ ▄▄██▀▀
 ██   ▀▀▄█▄   ▐███▄█▀▀
  ██▄     ▀█  ▐█▀▀
   ▀▀██▄▄   █ ▐█▌
       ▀▀██▄▄███
           ▀▀▀█▌


   The Exchange for the EOS Community!   

███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
ICO: 15th October to 20th November


                           ▄▄█▌
                       ▄▄██▀▀█▌
                    ▄██▀▀    █▌
 ▄              ▄▄██▀    ▄▀  █▌
▐███▄▄         ▐█▀     ▄█    █▌
▐█▌ ▀▀██▄      █▌      █ ▄▀  █▌
▐█▌    ▀▀██▄▄  █▌    ▄█▀▀    █▌
▐█▌   ▄    ▀██▄█▌  ▄█▀     ▄██
▐█▌   ▀█     ▀██▌ ▄█    ▄▄██▀
▐█▌  ▄  ▀▄    ▐█▌▄█ ▄▄██▀▀
 ██   ▀▀▄█▄   ▐███▄█▀▀
  ██▄     ▀█  ▐█▀▀
   ▀▀██▄▄   █ ▐█▌
       ▀▀██▄▄███
           ▀▀▀█▌
WHITEPAPER
BTC                          ▄▄▄
                    ▄▄▄██████
              ▄▄▄█████▀▀████▌
        ▄▄▄████████▀ ▄██████
  ▄▄▄██████████▀▀  ▄███████▌
▀███████████▀   ▄██████████
   ▀▀▀███▀    ▄███████████▌
        █▌  ██████████████
        ▐█ ██████████████▌
         █████▀ ▀████████
          ██▀      ▀████▌
                      ▀▀
             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
Cryptocoinbob
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
June 05, 2018, 03:29:30 AM
 #4

what if two people generate the same private key ? Is that possible

Even  if its possible then what will happen then? Its not like the  can hack each other.
Who would have know we two have same private kay? This is not a problem  wwe woth can have the same password either but I don't think anyone can actually see we have same passsword which is p@ssw0rd.

Is it possible to have the same public and private key pair that got generated by the algorithm ?  How is the algorithm generating public and private keys.. Do you know or can you share a link to study ?
danielberryfy
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
June 05, 2018, 03:32:28 AM
 #5

what if two people generate the same private key ? Is that possible

theoretically possible, but not in reality ... The probability is very very low
target
Legendary
*
Offline Offline

Activity: 1106
Merit: 1009


Semi-Decentralized Exchange


View Profile
June 05, 2018, 03:35:12 AM
 #6

what if two people generate the same private key ? Is that possible

Even  if its possible then what will happen then? Its not like the  can hack each other.
Who would have know we two have same private kay? This is not a problem  wwe woth can have the same password either but I don't think anyone can actually see we have same passsword which is p@ssw0rd.

Is it possible to have the same public and private key pair that got generated by the algorithm ?  How is the algorithm generating public and private keys.. Do you know or can you share a link to study ?

I didn't say its possible and I didn't say that its true two address can have same private key. I just set out an example that its not going to be a problem if  there is the same private key. I just set an example that it wouldn't be a threat to security if there are two address having same private key. Don't ask me a link about a study of this. Its just my logic, you  use yours.


                           ▄▄█▌
                       ▄▄██▀▀█▌
                    ▄██▀▀    █▌
 ▄              ▄▄██▀    ▄▀  █▌
▐███▄▄         ▐█▀     ▄█    █▌
▐█▌ ▀▀██▄      █▌      █ ▄▀  █▌
▐█▌    ▀▀██▄▄  █▌    ▄█▀▀    █▌
▐█▌   ▄    ▀██▄█▌  ▄█▀     ▄██
▐█▌   ▀█     ▀██▌ ▄█    ▄▄██▀
▐█▌  ▄  ▀▄    ▐█▌▄█ ▄▄██▀▀
 ██   ▀▀▄█▄   ▐███▄█▀▀
  ██▄     ▀█  ▐█▀▀
   ▀▀██▄▄   █ ▐█▌
       ▀▀██▄▄███
           ▀▀▀█▌


   The Exchange for the EOS Community!   

███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
ICO: 15th October to 20th November


                           ▄▄█▌
                       ▄▄██▀▀█▌
                    ▄██▀▀    █▌
 ▄              ▄▄██▀    ▄▀  █▌
▐███▄▄         ▐█▀     ▄█    █▌
▐█▌ ▀▀██▄      █▌      █ ▄▀  █▌
▐█▌    ▀▀██▄▄  █▌    ▄█▀▀    █▌
▐█▌   ▄    ▀██▄█▌  ▄█▀     ▄██
▐█▌   ▀█     ▀██▌ ▄█    ▄▄██▀
▐█▌  ▄  ▀▄    ▐█▌▄█ ▄▄██▀▀
 ██   ▀▀▄█▄   ▐███▄█▀▀
  ██▄     ▀█  ▐█▀▀
   ▀▀██▄▄   █ ▐█▌
       ▀▀██▄▄███
           ▀▀▀█▌
WHITEPAPER
BTC                          ▄▄▄
                    ▄▄▄██████
              ▄▄▄█████▀▀████▌
        ▄▄▄████████▀ ▄██████
  ▄▄▄██████████▀▀  ▄███████▌
▀███████████▀   ▄██████████
   ▀▀▀███▀    ▄███████████▌
        █▌  ██████████████
        ▐█ ██████████████▌
         █████▀ ▀████████
          ██▀      ▀████▌
                      ▀▀
             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
bob123
Hero Member
*****
Offline Offline

Activity: 714
Merit: 588



View Profile WWW
June 05, 2018, 07:52:48 AM
 #7

Is it possible to have the same public and private key pair that got generated by the algorithm ?  How is the algorithm generating public and private keys..

Theoreticaly, yes it is possible.
But practically, it is not possible because the chances are almost zero.
You could use the whole energy available on earth and wouldn't generate a private key which already has been generated. In fact you would have created < 1% of all possible private keys.

Private keys are not generated by any algorithm. A private key is just a 256 bit random number.
The public key is then calculated through multiplication on the eliptic curve (in bitcoins case: secp256k1).
The address is then derived by calculating the hash: RIPEMD-160(SHA256(public_key)).

HCP
Hero Member
*****
Offline Offline

Activity: 756
Merit: 932

<insert witty quote here>


View Profile
June 06, 2018, 02:17:00 AM
 #8

What if two people generate the same private key? The simple answer is that they  will both have the ability to spend any UTXOs that are assigned to that private key. (First to spend wins!)

Is it possible? Yes

Is it likely? No. I forget the exact maths or whom it was that calculated it, but I think the odds of that happening were the same as being struck by lightning while taking a crap seventeen years in a row Tongue

Edit: found it! https://bitcointalk.org/index.php?topic=104461.msg1315279#msg1315279

LTU_btc
Hero Member
*****
Online Online

Activity: 1022
Merit: 560

★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile WWW
June 06, 2018, 10:24:36 PM
 #9

Everything is possible in this world Cheesy. But it's almost impossible to generate same Bitcoin address for two people - chances are close to zero. To generate same private keys chances are many times smaller than to generate same Bitcoin address.
HCP above posted link to exact calculations made by one smart guy.

chiller
Full Member
***
Offline Offline

Activity: 129
Merit: 100


View Profile
June 06, 2018, 10:46:30 PM
 #10

Yes it is possible and it is proven by project called "Large Bitcoin Collider" https://lbc.cryptoguru.org/about. You can read more there. 
What happens then?
Well that part also is covered in the LBC.
In a nutshell
  • Spend it
  • Do nothing

DrMill
Jr. Member
*
Offline Offline

Activity: 107
Merit: 1


View Profile
June 07, 2018, 04:08:41 AM
 #11

I think it's possible, theoretically. But, due to so so low probability, we just don't need to worry about the risk, at least for several years to come.

It's similar to the situation that there's a person who looks exactly like you on this planet. If it ever happens, you hardly know about the existence of the other, therefore do not have to worry about what if your spouse make mistake: going with your identical person, instead of you.  Cheesy. Just kidding!

https://www.skyfchain.io/
SKYFchain is the first blockchain based
Business-to-Robots (B2R) Operating Platform
mu_enrico
Copper Member
Full Member
***
Offline Offline

Activity: 294
Merit: 233


#GGMU


View Profile WWW
June 07, 2018, 04:16:32 AM
 #12

what if two people generate the same private key ? Is that possible

Since private key is 256-bit random number, there's no way, in reality, two people generate the same private key.
It's like two people flipping a coin 256 times and expect the exact same result.

PS: If these two people flipping a coin 50 times and have the exact same result. I'd call that a miracle.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!