Bitcoin Forum
December 14, 2024, 11:50:34 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: what stops someone from spoofing your wallet?  (Read 1602 times)
pookguy88 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 16, 2014, 08:18:16 PM
 #1

Total noob question here but what stops someone from spoofing your wallet and accepting payments meant for you and/or taking your balance? I mean everyone posts their wallet id/code all over the place.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1138

All paid signature campaigns should be banned.


View Profile WWW
January 16, 2014, 08:21:59 PM
 #2

Everyone is posting their public Bitcoin addresses.

You need the private key in order to spend the coins.

Your wallet contains your private keys.  Do not give them to anyone.  However, there is no problem giving everyone and anyone the matching public Bitcoin address.

The Bitcoin system relies on public/private key pairs.  These key pairs are designed as follows:

If you have the private key you can calculate the public key.
If you have the public key you can calculate the Bitcoin address.

However:

If you have the Bitcoin address there is no way to calculate back to the public key.
If you have the public key there is no way to calculate back to the private key.

Make sense?

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
pookguy88 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 16, 2014, 08:27:56 PM
 #3

so the public key and the Bitcoin address are two different things? how come the Bitcoin address can't calculate the public key?

let's say I backup my private key and restore to a new wallet, does my Bitcoin address stay the same?
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1138

All paid signature campaigns should be banned.


View Profile WWW
January 16, 2014, 08:32:00 PM
 #4

Note that the amount of Bitcoins at every public Bitcoin address is publicly available.  Take this address for example:

1933phfhK3ZgFQNLGSDXvqCn32k2buXY8a

The amount of Bitcoins at this address is available here:

https://blockchain.info/address/1933phfhK3ZgFQNLGSDXvqCn32k2buXY8a

111,114.60824044 BTC or about $91,523,991.66

Anyone can access that information.

However, only the person that has the corresponding private key can spend or move these coins.

Don't you wish you had the private key for this address Wink

Before you ask:  No, there is no way to guess it.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1138

All paid signature campaigns should be banned.


View Profile WWW
January 16, 2014, 08:33:40 PM
 #5

so the public key and the Bitcoin address are two different things? how come the Bitcoin address can't calculate the public key?

let's say I backup my private key and restore to a new wallet, does my Bitcoin address stay the same?

Yes, the calculation is:

(private key) -> (some math) -> (public key) -> (some more math) -> (Bitcoin address)

The answers at each step are always the same (it is deterministic math)

But:

(Bitcoin address) -> (pubic key) is not possible
(public key) -> (private key) is not possible

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
pookguy88 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 16, 2014, 08:36:20 PM
 #6

so what use is the public key?

BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1138

All paid signature campaigns should be banned.


View Profile WWW
January 16, 2014, 08:41:09 PM
 #7

so what use is the public key?
You have to calculate the public key before you can calculate the Bitcoin address so it is a step in the process.  Also, when you actually go to spend the coins you have to provide the public key in the transaction to spend the coins so that everyone in the world can verify that you have the right to spend or move the coins (you are the owner of the coins).

When coins get transferred to a new address all that is available to the world is the Bitcoin address.  However, the first time you move coins from this new address to another address you have to provide the public key so now everyone knows the Bitcoin address and the public key (still can't calculate the private key so not a big deal).

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
January 16, 2014, 08:45:17 PM
 #8

Private key=used to spend bitcoins. From it you generate the public key

Public key=used to receive coins.

From the public key you CANNOT get the private key.

Pages: [1]
  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!