Information and communication theory, circuits Example
RSA cryptosystem
Builds on Euler's theoremEuler's totient functionModular multiplicative inverseModular exponentiation
Example
The RSA cryptosystem is an example of public-key cryptography. To make the keys, choose two distinct primes and , and put and , the value of Euler's totient function. Choose an integer with and . Let be the inverse of modulo . The public key is , and the private key is . To encrypt a message with , compute . To decrypt, compute , which is equal to . A small case: , , , , and , since . The message gives , and .
Remarks
Decryption works by Euler's theorem: , so when . The general case follows from the Chinese remainder theorem. The security rests on the belief that it is hard to factor when and are large. Ron Rivest, Adi Shamir and Leonard Adleman described the system publicly in 1977.
Reading path
To understand this page from the ground up, read these 9 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Divisibility definition
- Modular exponentiation concept
- Congruence modulo n definition
- Greatest common divisor definition
- Modular multiplicative inverse definition
- Coprime integers definition
- Euler's totient function definition
- Euler's theorem statement
- RSA cryptosystem example
Where this leads
1 page builds on this one.
Further reading
- Web https://en.wikipedia.org/wiki/RSA_cryptosystem, Key generation
- Web https://en.wikipedia.org/wiki/RSA_cryptosystem, Proof using Euler's theorem
About this page
| Tag | 0HM584C465 |
|---|---|
| URI | m2://0HM584C465 |
| Aliases | rivest-shamir-adleman |
| Kind | example |
| Writing | W2 usable |
| MSC | 94A60 |
| Instance of | Public-key cryptography |
| Uses | Euler's theorem, Euler's totient function, Modular multiplicative inverse, Modular exponentiation |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W3
- a person confirmed each agent-written section: rule P04 (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.