Peter Shor's 1994 algorithm offers exponential speedup for factoring large numbers, threatening classical encryption (RSA), while Lov Grover's 1996 algorithm provides a quadratic speedup for unstructured database searches, impacting symmetric encryption.