Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo

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. (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.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction
Citation information

© Jul 25, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.