Modular Arithmetic and Primality
Modular Arithmetic and Primality
Modular Arithmetic and Primality
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Factoring: Given a number N, express it as a product of its<br />
prime numbers<br />
<strong>Primality</strong>: Given a number N, determine whether it is<br />
prime<br />
Which one is harder<br />
This gulf will be a key to modern encryption algorithms<br />
(RSA, etc), which makes secure communication (internet,<br />
etc.) currently reasonable.<br />
CS 312 - Complexity Examples - <strong>Arithmetic</strong> <strong>and</strong> RSA 2