6
$\begingroup$

I am disturbed by assertions that this or that classical cryptographic primitive is "quantum resistant", but my understanding is that no one knows yet how to demonstrate quantum hardness, or even if such demonstrations are possible. At best, there may be cryptographic primitives for which no quantum attack has yet been found (but of course the world does not have much experience yet with quantum computers!)

Is this correct? Or, is there a rigorous way to demonstrate quantum hardness that I have not yet seen?

$\endgroup$
3

2 Answers 2

10
$\begingroup$

"Classical hardness" is demonstrated in the very same way, namely, we find a problem that is believed to be hard then we reduce the task of breaking the security of the scheme to the task of solving that problem.

So, it is kind of the same situation, because maybe there exist classical polynomial-time solutions to the problem used and those solutions simply were not discovered yet.

The main difference is that, in general, we are far more used to classical computers than to quantum ones and maybe saying that a problem is believed to be classical hard is more meaningful than the quantum analogous because we have really studied those problems a lot in the classical setting...

$\endgroup$
5
$\begingroup$

I'm going to interpret your question as follows:

How can we understand the capabilities of a quantum computer, without having built one?

or, equivalently:

How good is our understanding of quantum information theory?


[disclaimer: I am not a quantum information theorist, so this is a layman's understanding]

Quantum information theory

Even though we've never built one big enough to break real-world RSA, we understand that the building blocks will be qubits and quantum logic gates. While there will undoubtedly be advances in quantum algorithms, we can model things that ought to be easy and things that ought to be hard with these building blocks.

My 2nd year physics understanding is that quantum computers fundamentally operate on waves, so anything that can be described as a wave problem becomes easy for a QC.

For example, both RSA and ECC have periodic group structures, ie finding the period of repetition of

$f(x) = m^x (mod N)$,

exploitation of which would lead to reduced-time brute-forces. Fortunately, period-finding is a hard problem on a classical computer, but periods, wavelengths, frequencies ... waves, and presto! We have Shor's algorithm.

Alright, so armed with this understanding, we can set out to find computation problems that do not have nice periodic wave-like properties. *To the best of our knowledge*, these will be quantum secure. Arguing the exact number of bits of post-quantum security that a given algorithm has is a bit of a crap-shoot at the moment, but I think we have enough understanding of quantum information theory to go "roughly 64 bits, roughly 128 bits, or roughly 256 bits".

Classical information theory

"To the best of our knowledge" holds for classical crypto too. Look at MD5, which was thought to have 128 bits of security when it was introduced, but we now have attacks that can find collisions in $< 2^{64}$ operations. Or RSA, which keeps getting weaker as better integer factorization techniques are discovered.

So there is no rigorous way to demonstrate hardness; all we can do is launch a new algorithm and guess at the number of bits of security against the best-known attacks of the day, this is of both quantum and classical crypto.

$\endgroup$
4
  • 1
    $\begingroup$ What do you mean we have not built a quantum computer ? We have. $\endgroup$
    – Ruggero
    Commented Nov 21, 2017 at 13:35
  • 2
    $\begingroup$ Sure, we've build toy-sized ones. Wording updated. $\endgroup$ Commented Nov 21, 2017 at 13:40
  • 2
    $\begingroup$ @Ruggero Not really. The best we have are 51 qbits, which are hardly usable for anything cryptographic. Meaning: the Wikipedia article you point to lists systems which are not suitable for cryptographic purposes… at all. Fact is: we need a "real" quantum computer for cryptanalysis and/or cryptographic attack purposes — which simply doesn't exist yet! $\endgroup$
    – e-sushi
    Commented Dec 22, 2017 at 21:22
  • 1
    $\begingroup$ Depending how you define it, the D-Wave annealers are 2,000 qubits, though with ample caveats not just in connectivity limiting effective number for practical problems but in other ways also. Sure, quantum supremacy is not yet been demonstrated, but it seems just a matter of time now. Shor wrote his algorithm without benefit of a quantum machine, but I agree the pace of discovery will only increase as the machines get better. $\endgroup$ Commented Dec 24, 2017 at 3:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.