| n | is a product of two prime numbers |
| e | is a number chosen in conjuction with n |
| M | is a single message unit, e.g. the ASCII code of a Character |
| C | is the encrypted message unit, ready to be transmitted |
| n | = p1*p2 | the product of primes, as above |
| e | is chosen | to be relatively prime to (p1-1)*(p2-1) |
| d | satisfies the equation: | d *e MOD {(p1-1)*(p2-1)} = 1 |
| Power | 5 | Modulus 77 |
| 2 | 5 * 5 = 25 | 25 MOD 77 = 25 |
| 3 | 25 * 5 = 125 | 125 MOD 77 = 48 |
| 4 | 48 * 5 = 240 | 240 MOD 77 = 9 |
| 5 | 9*5 = 45 | 45 MOD 77 = 45 |
| etc |