📚 Contemporary Mathematics
⇩ Download ▾

Chapter 3: Real Number Systems and Number Theory

A photo of the Jefferson cylinder cipher in the National Cryptologic Museum.
Figure 3.1 Encryption of computers and messages use very large prime numbers.Encryption of computers and messages use very large prime numbers. (credit: modification of work "Jefferson cylinder cipher (replica)" by Daderot/Wikimedia Commons, Public Domain)

Encryption is used to secure online banking, for secure online shopping, and for browsing privately using VPNs (Virtual Private Networks). We need encryption (using prime numbers) for a secure exchange of information. For a prime number to be useful for encryption, though, it has to be large. Encryption uses a composite number that is the product of two very large primes. In order to break the encryption, one must determine the two primes that were used to form the composite number. If the two prime numbers used are sufficiently large, even the fastest computer cannot determine those two prime numbers in a reasonable amount of time. It would take a computer 300 trillion years to crack the current encryption standard.

Adapted from Contemporary Mathematics by OpenStax (openstax.org), licensed under CC BY-NC-SA 4.0. Changes were made. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.