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(2
256) = 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 2
256 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.51x10
56J or 9.46x10
39kg, about 5 billion times the mass of the Sun. This makes brute-forcing 256-bit keys somewhat impractical.
(I hope I haven't screwed up my math as I'm prone to do at this hour, but the numbers seem about right.)