Bitcoin Forum
November 10, 2024, 04:03:31 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: why cant people spend other's money  (Read 1463 times)
ebyccc (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 15, 2016, 07:38:10 AM
 #1

I am quite new to bitcoin, still reading the guide, and being puzzled about this. For example, if somebody just create one million private keys and run one million wallet programs at the same time, he would much likely receive some output that paid to one or more private keys (addresses maybe) he generated, and thus steals others' money
Could this be a problem?
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3654
Merit: 6430



View Profile
May 15, 2016, 07:43:56 AM
 #2

It more likely to get the same address as someone else If you are using Brainwallet instead of letting your Desktop/web wallet generates the wallet randomly .
Read this for more info : http://bitcoin.stackexchange.com/questions/7724/what-happens-if-your-bitcoin-client-generates-an-address-identical-to-another-pe

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
justspare
Hero Member
*****
Offline Offline

Activity: 1022
Merit: 538



View Profile
May 15, 2016, 07:49:37 AM
 #3

I really have no idea. I never thought of that actually. But I am pretty sure that it is very hard for you to get the same address as someone else. Maybe I am wrong and this could be a huge problem. Huh
ebyccc (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 15, 2016, 08:01:58 AM
 #4

I really have no idea. I never thought of that actually. But I am pretty sure that it is very hard for you to get the same address as someone else. Maybe I am wrong and this could be a huge problem. Huh
yes this maybe not a problem, after some calculation I find that the thief has to generate on average 7*10^41 keys to make a successful theft
Pursuer
Legendary
*
Offline Offline

Activity: 1638
Merit: 1163


Where is my ring of blades...


View Profile
May 15, 2016, 08:02:26 AM
 #5

you are talking about something called address collision which means someone accidentally created an address that was created before.
read this article on wiki: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses#Collisions
in short 1 million is not even a big number in comparison

Only Bitcoin
topiOleg
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
May 15, 2016, 08:15:11 AM
Last edit: May 15, 2016, 08:30:35 AM by topiOleg
 #6

I really have no idea. I never thought of that actually. But I am pretty sure that it is very hard for you to get the same address as someone else. Maybe I am wrong and this could be a huge problem. Huh
yes this maybe not a problem, after some calculation I find that the thief has to generate on average 7*10^41 keys to make a successful theft


Thats very small likelihood, and even if collision ever happens sometimes, it should be empty previously used address or some dust Bitcoin amount. There are only about under million Bitcoin address worth non Dust amount, yet about 100 million Bitcoin address used already


Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
May 15, 2016, 08:15:41 AM
 #7

For example, if somebody just create one million private keys and run one million wallet programs at the same time, he would much likely receive some output that paid to one or more private keys (addresses maybe) he generated, and thus steals others' money
I'm not sure what you exactly mean by this. If you are talking about possible collisions, then that is statistically impossible (highly improbable*):
There are 2^160 possible addresses (IIRC), which equals to: ~1,460,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000.

Quote from: DT
Vanitygen can produce 20 million keypairs per second.  Lets say you build a super ASIC on 12nm (4 generations ahead of current tech) process that could create, validate, and steal one trillion keypairs per second (1 TK/s). That would be about 50,000x more powerful than faster GPU today.  Lets also say you built a thousand of them and ran them continually with no downtime 24/7/365.   In 1 year you could brute force 3*10^28 possible addresses.  
If there are 1 quadrillion funded addresses you would still have a ~1% chance of colliding with a random funded address in the next 1,000 years.
People just aren't aware of how huge these numbers are.

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
avikz
Legendary
*
Offline Offline

Activity: 3262
Merit: 1531



View Profile
May 15, 2016, 08:18:27 AM
 #8

I don't think that duplicate wallet address is virtually possible. I think everything is taken care by blockchain itself.

However, you can use your email address instead of giving away your wallet id if you are holding account with coinbase. It will save your from your money being stolen.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
May 15, 2016, 08:30:01 PM
 #9

I don't think that duplicate wallet address is virtually possible.

Its impossible.

I think everything is taken care by blockchain itself.

No, if anyone else should ever gain access to your private key(s). Your coins are gone. Its just so unlikely that this happens by chance (or brute force) that we can reasonably call it impossible. There are no defenses against that in the code though.

However, you can use your email address instead of giving away your wallet id if you are holding account with coinbase. It will save your from your money being stolen.

Unless, its coinbase that is stealing your coins. If you do not hold the private key, you have no bitcoin. All you have is a promise from some company you probably know less about than the store around the corner you get your food from.

Im not really here, its just your imagination.
calkob
Hero Member
*****
Offline Offline

Activity: 1106
Merit: 521


View Profile
May 15, 2016, 09:37:13 PM
 #10

I am quite new to bitcoin, still reading the guide, and being puzzled about this. For example, if somebody just create one million private keys and run one million wallet programs at the same time, he would much likely receive some output that paid to one or more private keys (addresses maybe) he generated, and thus steals others' money
Could this be a problem?

The simple answer is no watch a couple of good you tube videos that explain why it is mathmatically impossible in your life time to find another private key.....Smiley
ronald98
Sr. Member
****
Offline Offline

Activity: 314
Merit: 250



View Profile
May 15, 2016, 09:55:16 PM
 #11

I don't think that duplicate wallet address is virtually possible.

Its impossible.

...

It's so unlikely that it's as good as impossible. To calculate the same address and private key as someone else is more unlikely than getting hit by lightning at 12 noon for six consecutive days, then winning the lottery on the 7th day. If you search bitcointalk you will find countless threads by people who lost their private key for their Bitcoin wallet and want to know how to get their Bitcoins back. The short answer is without their private key they can't.
tyz
Legendary
*
Offline Offline

Activity: 3360
Merit: 1533



View Profile
May 15, 2016, 09:57:29 PM
 #12

To be serious: one million accounts is not much compared to 2^32 possible accounts. So, it is very unlikely to spend other's money by guessing or calculating the private keys of accounts. A lot of people tried this before without success. This is why Bitcoin is considered very save.
rapazev
Full Member
***
Offline Offline

Activity: 210
Merit: 100



View Profile
May 15, 2016, 11:26:27 PM
 #13

Its impossible.


Not impossible, just highly improbable  Grin


\--
And, imagine that happen, you did duplicate a wallet... you still need to be lucky enough to duplicate a whale wallet... someone who receive and send a lot of bitcoins.
franky1
Legendary
*
Offline Offline

Activity: 4396
Merit: 4761



View Profile
May 15, 2016, 11:41:17 PM
 #14

I am quite new to bitcoin, still reading the guide, and being puzzled about this. For example, if somebody just create one million private keys and run one million wallet programs at the same time, he would much likely receive some output that paid to one or more private keys (addresses maybe) he generated, and thus steals others' money
Could this be a problem?

if you could make 1million addresses in a minute.. then you will have all the possible bitcoin addresses available when.. wait for it.

your great great great great great great great great great great great great great grand children have become great great great great great great great great great great great great great grand parents.

so goodluck

there are more bitcoin addresses available than grains of sand on the planet

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
coinzat
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Young but I'm not that bold


View Profile
May 15, 2016, 11:55:39 PM
 #15

the percentage that someone may generate a used address by chance is very very low and it is impossible to make it with vanitygen. but it you are afraid, you can move your funds from address to another from time to time
odolvlobo
Legendary
*
Offline Offline

Activity: 4494
Merit: 3403



View Profile
May 16, 2016, 04:08:46 AM
 #16

To be serious: one million accounts is not much compared to 2^32 possible accounts. So, it is very unlikely to spend other's money by guessing or calculating the private keys of accounts. A lot of people tried this before without success. This is why Bitcoin is considered very save.

I don't know where you get "232 possible accounts", but 1 million is 1/4295 of 232. Perhaps you meant 2160. Your laptop can easily test 232 private keys in a day.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Soros Shorts
Donator
Legendary
*
Offline Offline

Activity: 1617
Merit: 1012



View Profile
May 16, 2016, 04:20:34 AM
 #17

I don't think that duplicate wallet address is virtually possible.

Its impossible.


As long as you don't use some broken random number generator to generate your private keys. Or even worse, manually pick a private key value of say 0x1.
cyberguy
Jr. Member
*
Offline Offline

Activity: 34
Merit: 4


View Profile WWW
May 16, 2016, 06:20:39 AM
 #18

I am quite new to bitcoin, still reading the guide, and being puzzled about this. For example, if somebody just create one million private keys and run one million wallet programs at the same time, he would much likely receive some output that paid to one or more private keys (addresses maybe) he generated, and thus steals others' money
Could this be a problem?

A private key is a 256 bit binary number. When written in hexadecimal this comes to a 64-digit hexadecimal number, which in decimal is approximately 1.158 x 10^77. Each private key will produce a unique public key and corresponding bitcoin address. So there are 2^256 possible combinations of private key, public keys and bitcoin addresses.

To get an idea of the numbers we are dealing with consider the following.

The world's fastest super computer is currently capable of performaing 33.6 quadrillion (33.6 x 10^15) calculations per second. Even if we assume that this makes it possible to check one private key per calculation (the actual number will be less since checking whether a particular private key agrees with a given bitcoin address will need much more than one calcultion), it would need 3.45 x 10^60 seconds or 1.1 x 10^53 years to try all possible private keys. So to try and steal bitcoins that are at a particular address by trying all possible addresses, though theoritically possible is computationally infeasible.
Kakmakr
Legendary
*
Offline Offline

Activity: 3542
Merit: 1965

Leading Crypto Sports Betting & Casino Platform


View Profile
May 16, 2016, 07:12:20 AM
 #19

There are some brilliant videos on Youtube explaining this, if you just search for the Math behind Bitcoin. In one video they compared private keys to the sand on earth and said, if you took all the sand on all the planets in our galaxy, then you will still not cover all the combinations that could be created with Bitcoins algorithm.

I think it is a bit extreme, but it gives you an idea what the probability will be for this to happen.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Amph
Legendary
*
Offline Offline

Activity: 3248
Merit: 1070



View Profile
May 16, 2016, 07:43:00 AM
 #20

because your example is no where near the maximum number of private key and public key in existence, type 2^256 and see how big is that number

it maybe be possible in a very distant future, 1000 or 10k year from now, where new unprecedent technology are discovered
Pages: [1] 2 »  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!