Defeating Quantum Algorithms with Hash Functions
research.kudelskisecurity.com
research.kudelskisecurity.com
There's two problems with this:
First, I'm not aware of any proof that Brassard et al.'s algorithm is optimal. Grover's algorithm is optimal, but it is optimal for searching for a specific output value given an arbitrary function. Obviously this optimality doesn't carry over to collision finding because Brassard et al.'s algorithm is superior to a naive use of Grover's for that purpose!
Second, even if Brassard's algorithm is optimal in the usual sense, it would be optimal if given an arbitrary function. Specific weaknesses in specific hash functions could still result in methods that would beat it.
If you could prove it was the best method for finding hash collisions, even against algorithms designed for specific hash functions, you would have to conclude that the best way to break MD5 on a quantum computer is Brassard's algorithm. That would be a big problem, since we already have better classical methods, and classical algorithms transfer trivially to quantum computers (with the same asymptotic properties). Someone's proof would have to be inconsistent, or ZFC would have to be inconsistent or something crazy like that!
Also, it's really not clear from this post why you can't play the same kind of parallelization game.
(IE if the underlying thing it provides is a faster way to do x, why can't you parallelize that x in the same way)
Actually, it looks like bernstein points out you can do this, so the author of this post is essentially comparing a crappy technique to a good one, and saying "The good one is better".
It turns out they are the same in the end and it's just cheaper to build normal machines than quantum ones. That seems more reasonable to me than "this technique is slower than the best classical one". It's not. It's just cheaper. That's all.
He also says bernstein brilliantly explains why even better quantum algorithms will never win, but actually, bernstein just conjectures that :)
" there are several obvious ways to combine quantum search with the rho method, but I have not found any such combinations that improve performance, and I conjecture that—in a suitable generic model—no such improvements are possible."
That's a pretty easy conjecture to always make - "i haven't found a way to make this faster, so i conjecture a way to make it faster doesn't exist". These types of conjectures are often very wrong, which is why we have proofs ;)
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).
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.
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.
year 2001: factor 15
year 2011: factor 21
year 2011: factor 143
At that rate of progress we might be able to factor something useful before we reach the heat death of the universe. But I guess the topic is good for lots of scary headlines.You present an interesting argument.
HOWEVER, the cynic in me questions why the NSA made similar arguments not too long ago. Is it because if everyone switches to new algorithms there will be myriad new code, with a plethora of new bugs? Won't it make NSA's life much much easier for years to come? How many years did it take us to find "goto fail; goto fail;"?
More generally, its pretty easy to turn any security recommendation by the NSA into a plot (they recommend SHA-3 cause they broke it and not SHA-2!). I'd save my suspicion for cases where they (a) give advice contrary to independent experts or (b) give strangely specific guidance with no apparent rationale.
[1]: https://security.googleblog.com/2016/07/experimenting-with-p...
https://phys.org/news/2017-02-blueprint-unveiled-large-scale...
make it seem we're getting much closer...
[1] https://en.wikipedia.org/wiki/Shor%27s_algorithm#cite_ref-10
There is value in the theory and I think some of us enjoy it, even if it's not practical.