Shor's algorithm on a quantum computer efficiently solves the discrete logarithm and elliptic-curve problems behind Dif…