cauciuc08 (OP)
Newbie
Offline
Activity: 10
Merit: 2
|
hey, I wonder, even if the probability so small is, if someone else get the same private key as me could he/she spend my Bitcoins and viceversa? would we have the same Bitcoin Adress?
|
|
|
|
BlackHatCoiner
Legendary
Offline
Activity: 1652
Merit: 8135
Bitcoin is a royal fork
|
Simple answer: Yes.
Advanced answer: The possibility is so small that we should not even discuss it. It's like finding a random number between 1 and 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129 that has already been chosen from another person.
It's more possible to win 10 jack pots on a row than finding the same private key with someone else.
Except if you choose a number that is not random. Like 5, because you can. Then some developers may steal your bitcoins because there are people who do that kind of researches.
Although everything is possible. The problem is that it's very unlikely to happen.
|
|
|
|
cauciuc08 (OP)
Newbie
Offline
Activity: 10
Merit: 2
|
|
June 13, 2020, 11:29:04 AM |
|
@BlackHatCoiner thank you
|
|
|
|
|
Yatsan
Legendary
Offline
Activity: 2534
Merit: 1245
Leading Crypto Sports Betting & Casino Platform
|
|
June 13, 2020, 11:46:53 AM |
|
Private keys are generated uniquely, there is no way that there are 2 identical/ same pattern private keys. Same as the question " Is it possible to guess someone's private key?, the answer is nearly impossible because private keys are set of codes paired to public key which is used for encryption and decryption, for cryptography the common size of the private key is 256 bit, if someone wants to guess it he needs to perfectly guess each of it, it's like winning a toss coin for 256 times or more!
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
BlackHatCoiner
Legendary
Offline
Activity: 1652
Merit: 8135
Bitcoin is a royal fork
|
|
June 13, 2020, 12:08:50 PM |
|
Private keys are generated uniquely, there is no way that there are 2 identical/ same pattern private keys. Same as the question " Is it possible to guess someone's private key?, the answer is nearly impossible because private keys are set of codes paired to public key which is used for encryption and decryption, for cryptography the common size of the private key is 256 bit, if someone wants to guess it he needs to perfectly guess each of it, it's like winning a toss coin for 256 times or more!
Yeah that. Think the coin, OP. If we toss it once then you have 1:1 possibilities. H or T. If we toss it 2 times then you have 1:4. HH, TT, TH, HT 3 times even bigger. It becomes HHH, TTT, HHT, TTH, HTH, THT, THH, HTT. Imagine tossing it for 256 times
|
|
|
|
Bitcoinislife09
Full Member
Offline
Activity: 1028
Merit: 144
Diamond Hands 💎HODL
|
|
June 13, 2020, 12:19:15 PM Last edit: June 13, 2020, 03:29:06 PM by Bitcoinislife09 |
|
Indeed. But chances are not that high and one out of million times. But there are cases of stolen funds by guessing.
The private key is really important. These are things that are must not be shared. But then there are also times that it may be guessed. Bitcoin transactions are traceable, public, and stored permanently in networks of bitcoin. If you have an account anyone may see your transactions and can see your balance. If one address are used, in every transaction it can be involved with. I think the answers are yes just like what the other says but the private key is just so many letters and numbers so we could assume that there is only a very small chance it having the same private, maybe a small percentage of users only could have the same private key but it would never happened in the same wallet or platform I assumed.
|
|
|
|
Nhor1011
Member
Offline
Activity: 994
Merit: 11
Daxetoken.net
|
|
June 13, 2020, 01:01:41 PM |
|
Private keys are generated uniquely, there is no way that there are 2 identical/ same pattern private keys. Same as the question " Is it possible to guess someone's private key?, the answer is nearly impossible because private keys are set of codes paired to public key which is used for encryption and decryption, for cryptography the common size of the private key is 256 bit, if someone wants to guess it he needs to perfectly guess each of it, it's like winning a toss coin for 256 times or more!
You are right,it is possible to have the same private key but it is possible to have only one number or letter different from other private like what happened to my own private key which i think i lost because i can't open my wallet using it but when i tried what Myetherwallet team told me to do,i recovered my own private key and open my wallet again and i found out that there is another wallet with private key almost the same with mine,only one number is different. But if you want to guess someones private key,it is difficult because every private key has a ramdom number with letters.
|
|
|
|
joniboini
Legendary
Offline
Activity: 2324
Merit: 1804
|
|
June 13, 2020, 01:21:28 PM |
|
i recovered my own private key and open my wallet again and i found out that there is another wallet with private key almost the same with mine,only one number is different.
Of course it is. Which means if you have one unknown variable then it will be much easier to crack/brute force it. However, finding/guessing private key of a given address is another story.
|
| CHIPS.GG | | | ▄▄███████▄▄ ▄████▀▀▀▀▀▀▀████▄ ▄███▀░▄░▀▀▀▀▀░▄░▀███▄ ▄███░▄▀░░░░░░░░░▀▄░███▄ ▄███░▄░░░▄█████▄░░░▄░███▄ ███░▄▀░░░███████░░░▀▄░███ ███░█░░░▀▀▀▀▀░░░▀░░░█░███ ███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░███ ▀███░▀░▀▄██▀░▀██▄▀░▀░███▀ ▀███░▀▄░░░░░░░░░▄▀░███▀ ▀███▄░▀░▄▄▄▄▄░▀░▄███▀ ▀████▄▄▄▄▄▄▄████▀ █████████████████████████ | | ▄▄███████▄▄ ▄███████████████▄ ▄█▀▀▀▄█████████▄▀▀▀█▄ ▄██████▀▄█▄▄▄█▄▀██████▄ ▄████████▄█████▄████████▄ ████████▄███████▄████████ ███████▄█████████▄███████ ███▄▄▀▀█▀▀█████▀▀█▀▀▄▄███ ▀█████████▀▀██▀█████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀████▄▄███▄▄████▀ ████████████████████████ | | 3000+ UNIQUE GAMES | | | 12+ CURRENCIES ACCEPTED | | | VIP REWARD PROGRAM | | ◥ | Play Now |
|
|
|
milesfull
Jr. Member
Offline
Activity: 114
Merit: 1
|
|
June 13, 2020, 01:23:37 PM |
|
Simple answer: Yes.
Advanced answer: The possibility is so small that we should not even discuss it. It's like finding a random number between 1 and 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129 that has already been chosen from another person.
Sounds interesting. Some times even mad things in terms of probability really could happen, it would be interesting for researchers.
|
|
|
|
Kong Hey Pakboy
Member
Offline
Activity: 1120
Merit: 68
|
|
June 13, 2020, 02:42:39 PM |
|
Private keys are generated uniquely, there is no way that there are 2 identical/ same pattern private keys. Same as the question " Is it possible to guess someone's private key?, the answer is nearly impossible because private keys are set of codes paired to public key which is used for encryption and decryption, for cryptography the common size of the private key is 256 bit, if someone wants to guess it he needs to perfectly guess each of it, it's like winning a toss coin for 256 times or more!
You are right,it is possible to have the same private key but it is possible to have only one number or letter different from other private like what happened to my own private key which i think i lost because i can't open my wallet using it but when i tried what Myetherwallet team told me to do,i recovered my own private key and open my wallet again and i found out that there is another wallet with private key almost the same with mine,only one number is different. But if you want to guess someones private key,it is difficult because every private key has a ramdom number with letters. Indeed. It is impossible for someone to have the same private keys because it is generated uniquely. It is really possible for you to have the almost same letter and numbers in your private with another wallet that only one letter and number is different, yet it is still a unique private key because you are the only one who has that private key.
|
|
|
|
btccoffee
Sr. Member
Offline
Activity: 516
Merit: 250
kingcasino.io
|
|
June 13, 2020, 02:49:54 PM |
|
Cleared answer is yes, if he got your wallet and your private key then he can use all of your bitcoins. But if you mean that he can generate the same wallet and the same key in your own wallet then that is impossible to happen because bitcoin or any blockchain wallets are generated together as one. What i mean is they are encrypt and decrypt each other, means you can’t generate the same public key wallet without generating the same private key.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18706
|
|
June 13, 2020, 03:25:45 PM Last edit: June 14, 2020, 05:08:30 AM by o_e_l_e_o |
|
Advanced answer: The possibility is so small that we should not even discuss it. It's like finding a random number between 1 and 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129 that has already been chosen from another person. That number is not right. You've taken 2 256, but missed out the last 6 digits of 639,935, giving a number that is closer to 2 236 rather than 2 256. However, 2 256 isn't correct either. Because of the secp256k1 curve that bitcoin uses, the upper limit to the number of private keys is slightly less than 2 256. In decimal, the number is: 115,792,089,237,316,195,423,570,985,008,687,907,852,837,564,279,074,904,382,605,163,141,518,161,494,336 However, that number isn't actually correct either. Although there are just less than 2 256 private keys, there are "only" 2 160 addresses, meaning on average there are around 2 96 private keys for each address.
|
|
|
|
BlackHatCoiner
Legendary
Offline
Activity: 1652
Merit: 8135
Bitcoin is a royal fork
|
Advanced answer: The possibility is so small that we should not even discuss it. It's like finding a random number between 1 and 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129 that has already been chosen from another person. That number is not right. You've taken 2 256, but missed out the last 6 digits of 639,935, giving a number that is closer to 2 236 rather than 2 256. However, 2 256 isn't correct either. Because of the secp256k1 curve that bitcoin uses, the upper limit to the number of private keys is slightly less than 2 256. In decimal, the number is: 115,792,089,237,316,195,423,570,985,008,687,907,852,837,564,279,074,904,382,605,163,141,518,161,494,336 However, that number isn't actually correct either. Although there are just less than 2 256 private keys, there are "only" 2 160 addresses, meaning on average there are around 2 96 private keys for each address. I didn't get the first part. Why is it closer to 2 236 rather than 2 256? You say that there are "only" 2 160 addresses. Why their private keys aren't 2 160 too? Guide me.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18706
|
I didn't get the first part. Why is it closer to 2236 rather than 2256? Because you wrote the wrong number, and missed out the last 6 digits. 2 256 is equivalent to 1.158*10 77. The number you wrote is 1.158*10 71. You say that there are "only" 2160 addresses. Why their private keys aren't 2160 too? Private keys are limited by the order of the secp256k1 elliptical curve used in bitcoin. The order n is as follows: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4141 Private keys can range from 0 to n-1. In hex, n-1 is: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4140 In decimal, it is: 115,792,089,237,316,195,423,570,985,008,687,907,852,837,564,279,074,904,382,605,163,141,518,161,494,336 This number is so close to 2 256 that we often just say there are 2 256 private keys for ease of communication. The difference between this number and 2 256 is tiny. Addresses, on the other hand, are limited by the RIPEMD160 hash function. To turn a public key in to an address, it is first hashed using SHA256 and then use RIPEMD160. The result of this will be a number which is 160 bits long, meaning the upper limit is 2 160 unique addresses. (Assuming of course we are talking about 1 type of address. There are 2 160 P2PKH "1" addresses, 2 160 P2SH "3" addresses, and 2 160 P2WPKH "bc1" addresses.) So yes, there are many more private keys than there are addresses, meaning multiple private keys can lead to the same address.
|
|
|
|
noorman0
|
|
June 25, 2020, 09:07:03 PM |
|
I have another related question. When I generate a new address/privkey through a custodian/non-custodian wallet even on the exchange, is it possible to get someone else's address or will it be skipped? if at least 1% of the total privkey was generated, it's not impossible that one day someone will get someone else's privkey. And I think this is more possible for people who want vanity addresses.
|
This space for rent. Available in mid January 2024 - PM me
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18706
|
|
June 26, 2020, 05:48:34 AM |
|
is it possible to get someone else's address or will it be skipped? Theoretically it is possible, but in reality it will never happen. There is certainly no mechanism or database that wallets or exchanges use to check if an address has already been used when generating new private keys. The reason it will never happen is simply down to math. The numbers we are dealing with here are unimaginably large. For example, if every human on the planet each generated 1 million new addresses every second, and had been doing so since the birth if the universe 13.7 billion years ago, we would only have generated approximately 0.0000000000002% of all possible addresses.
|
|
|
|
samcrypto
Sr. Member
Offline
Activity: 2044
Merit: 314
Vave.com - Crypto Casino
|
|
June 26, 2020, 06:16:13 AM |
|
hey, I wonder, even if the probability so small is, if someone else get the same private key as me could he/she spend my Bitcoins and viceversa? would we have the same Bitcoin Adress?
That's not going to happen considering the probability and I'm sure if the limit for the private keys has been reach, no new users will allowed to create a wallet. We have so much words to use in private keys, and I'm confident that those system can generate that much. Though we might think about the system error and if you think someone is also using the same private keys with you better to inform the developer and create a new wallet right away, this can be a very rare situation.
|
|
|
|
TheArchaeologist
|
|
June 26, 2020, 06:22:17 AM |
|
The reason it will never happen is simply down to math. The numbers we are dealing with here are unimaginably large. For example, if every human on the planet each generated 1 million new addresses every second, and had been doing so since the birth if the universe 13.7 billion years ago, we would only have generated approximately 0.0000000000002% of all possible addresses.
Thanks for these numbers. I see a lot of "get rich fast" posts/questions from new members to this forum lately in which they think it is possible to find private keys to well funded addresses by bruteforcing. I think most of these questions arise when people just don't have a grasp about the near infinite candidates. So I'm probably gonna use your number example as reply in the future to point out there's a difference between "theoretical possible" and "practictal feasible".
|
Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
|
|
|
Reid
|
|
June 26, 2020, 06:31:53 AM |
|
Learned a lot here. Thanks to those who answered the question from the OP. I didn't even think about it since there is a very low chance for it to happen or we could even say "none". But, it is still better to find an explanation for it. The math though is getting me dizzy especially the answers from o_e_l_e_o.
|
|
|
|
|