Bitcoin Forum
November 12, 2024, 02:57:20 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the weight of a 256 bit number ?  (Read 274 times)
gogismamero (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
September 11, 2017, 07:56:20 AM
 #1

What is the weight of a 256 bit number.

is there a way to reduce its size ?
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
September 11, 2017, 12:05:34 PM
 #2

"Weight"? Do you mean the size that it occupies (not that this question makes sense)? It's literally in its name: 256 bits or 32 bytes.

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

Activity: 42
Merit: 0


View Profile
September 11, 2017, 12:40:52 PM
 #3

what do you mean? bits and bytes are not physical and have therefore no weight
Foxpup
Legendary
*
Offline Offline

Activity: 4533
Merit: 3184


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
September 11, 2017, 04:06:50 PM
Merited by Betwrong (1)
 #4

bits and bytes are not physical and have therefore no weight
Not true. Information storage requires a certain amount of entropy, which in turn requires energy in proportion to the temperature of the storage medium, and since energy produces gravity just as mass does, bits and bytes do in fact have weight, though far too little to be worth talking about normally. Specifically, a 256-bit number requires kBln(2256) = 2.45x10-21J/K of entropy, which at room temperature corresponds to 7.35x10-19J of energy or 8.17x10-36kg of mass. For comparison, this is about 200 million times less than the mass of a proton.

This may not seem like much, but it does put a hard limit on the matter and energy requirements of computational processes. Iterating through all possible states of a 256-bit number requires 2256 times more energy than storing it once, which at 3 Kelvin (the average temperature of the Universe, and hence the best you can do as far as practical cooling is concerned) means 8.51x1056J or 9.46x1039kg, about 5 billion times the mass of the Sun. This makes brute-forcing 256-bit keys somewhat impractical. Wink

(I hope I haven't screwed up my math as I'm prone to do at this hour, but the numbers seem about right.)

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
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!