Which of the listed algorithms is dangerous to public-key cryptography because it allows a quantum computer to solve the discrete logarithm and elliptic curve discrete logarithm problems?
a. Grover's algorithm
b. Shor's algorithm
c. Simon's problem
d. Caesar's cipher