Prime Numbers in Cryptography: Uses & Benefits

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
hadi amiri 4
Messages
98
Reaction score
1
What is yhe usage of big primes in Cryptography?
 
Physics news on Phys.org
One major use is for RSA. Encrypting with RSA requires finding large random primes and doing modular arithmetic with them, which are easy. Decrypting RSA can be performed by factoring the product of the primes, which is believed to be hard.

As an example: the 663-bit semiprime RSA-200 was factored by a cluster of computers; the lattice sieving alone was the equivalent of 55 years of work on a single processor. I multiplied the factors together on my computer; according to Pari, this took 0 ms.
 
are there any uses outside cryptography?
 
soandos said:
are there any uses outside cryptography?

Numerical algorithms (e.g. factorial computation), pseudorandom number generation (e.g. Mersenne twister), private information retrieval schemes (see Yekhanin's Ph.D thesis), etc.