3 ms·
While quantum computers are of limited use in inverting a hash function (which remains infeasible for 256-bit hash functions), they would be a tremendous boon f
by tromp 10y ago
While quantum computers are of limited use in inverting a hash function (which remains infeasible for 256-bit hash functions), they would be a tremendous boon for cryptocurrency mining on a Hashcash proof-of-work system, such as the one used in bitcoin. In fact this is an obvious application of Grover's algorithm [1] that can find an input x satisfying a predicate P(x) in time O(sqrt(N)) where N is the domain size of P. The predicate P in this case is just that SHA256(SHA256(x)) < difficulty_target, while N is about 2^70 at the current difficulty level.
This gives a nice speedup, even if the quantum computer cycle time is a million times slower. As a result, mining would centralize to outfits having the most advanced quantum hashing chips.
Of course this ignores the bigger issue bitcoin would have with its signature scheme being completely broken on quantum computers, rendering all exposed public keys unsafe (addresses, being hashes of public keys, remain safe until spent though; hence the recommendation against address re-use).
[1] https://en.wikipedia.org/wiki/Grover's_algorithm https://en.wikipedia.org/wiki/Grover's_algorithm
- maxander 10y agoSo by a "tremendous boon to cryptocurrency mining" you actually mean completely disastrous to all known cryptocurrencies. It will be interesting to see if someday the prospect of effective quantum computers has a definite economic effect on the value of bitcoin or its successors. I don't imagine currencies work very well when they have an expiration date.
- chriswarbo 10y ago> they would be a tremendous boon for cryptocurrency mining Only for the miner's short-term self-interest. If quantum computers become practical (e.g. a few states and organisations have one, of sufficient size/speed to beat contemporary classical setups on some problems), then I would imagine a sharp drop in value for any cryptocurrencies whose proof-of-work is vulnerable to known quantum shortcuts.