Bitcoin Forum
December 12, 2017, 10:07:32 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: The difference between compressed and uncompressed  (Read 2955 times)
semaforo
Hero Member
*****
Offline Offline

Activity: 616


View Profile
July 27, 2013, 01:08:46 PM
 #1

  Hello,

  I'm trying to learn how to use brain wallets and wondering what the difference is between compressed and uncompressed. I notice that the tool at brainwallet.org offers support for compressed wallets, but I don't see such an option at bitaddress.org .

   I wanted to make a compressed wallet because I've heard they have better security, but I can't find any way to use brainwallet.org tool offline.

    I imagine the security difference isn't that huge, but I am still just wondering if someone can teach me about what the difference is.

Check out my innovative blockchain+killer app project at http://ummati.io --- https://bitcointalk.org/index.php?topic=2137399.0
1513116452
Hero Member
*
Offline Offline

Posts: 1513116452

View Profile Personal Message (Offline)

Ignore
1513116452
Reply with quote  #2

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

Posts: 1513116452

View Profile Personal Message (Offline)

Ignore
1513116452
Reply with quote  #2

1513116452
Report to moderator
jackjack
Legendary
*
Offline Offline

Activity: 1134


May Bitcoin be touched by his Noodly Appendage


View Profile
July 27, 2013, 03:03:20 PM
 #2

Let's take a private key: 000...0001
The corresponding point on secp256k1 is :
X = 79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798
Y = 483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8

The corresponding public keys are the two ways of serializing the point above:
Compressed: 0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798
Uncompressed: 0479BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798483ADA7726A3C 4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8

As you should know, address=hash160(public key)
So this gives two addresses:
Compressed: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
Uncompressed: 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Abdussamad
Legendary
*
Offline Offline

Activity: 1582



View Profile WWW
July 27, 2013, 05:14:22 PM
 #3

^^ Yeah we all think in hexadecimal EC math and understand all that perfectly.

jackjack
Legendary
*
Offline Offline

Activity: 1134


May Bitcoin be touched by his Noodly Appendage


View Profile
July 27, 2013, 05:21:42 PM
 #4

I'd really like to know how you can explain the difference differently

Btw OP, absolutely same security for both

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Abdussamad
Legendary
*
Offline Offline

Activity: 1582



View Profile WWW
July 27, 2013, 05:33:28 PM
 #5

Well let's see now:

Quote

   I wanted to make a compressed wallet because I've heard they have better security, but I can't find any way to use brainwallet.org tool offline.

    I imagine the security difference isn't that huge, but I am still just wondering if someone can teach me about what the difference is.

This answer is easy to understand:

http://bitcoin.stackexchange.com/a/3062

Abdussamad
Legendary
*
Offline Offline

Activity: 1582



View Profile WWW
July 27, 2013, 06:08:04 PM
 #6

Also to use brainwallet.org offline just visit the site and save the page to your hard disk. Then whenever you want to generate an address you can open the page you saved without needing to go online.

deepceleron
Legendary
*
Offline Offline

Activity: 1512



View Profile WWW
August 02, 2013, 07:43:10 PM
 #7

Instead of an elliptic curve, imagine the curve of this river:



I can describe a position on the river between mile 0 and mile 7 by using both X and Y coordinates, much like a private key describes an X and Y coordinate on the elliptical curve.

You will see however that if I only tell you the X coordinate, you can still figure out where on the river you are. This would be the "compressed" river coordinate, telling it to someone would take half as much data.
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!