This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:cryptography [2024/12/19 20:55] – jotasandoku | network_stuff:cryptography [2024/12/19 21:25] (current) – jotasandoku | ||
|---|---|---|---|
| Line 131: | Line 131: | ||
| \\ | \\ | ||
| Very succinct and clear [[https:// | Very succinct and clear [[https:// | ||
| - | * e, d and n : very large positive integers | + | Components: |
| - | * Public Key Info: n, | + | |
| - | * d: private | + | * m: Your original message |
| - | * m : message | + | * e: Public |
| + | * d: Private decryption | ||
| + | * n: The modulus (also public) | ||
| + | |||
| + | encrypted = (message | ||
| + | decrypted = (encrypted ^ d) mod n | ||
| + | |||
| + | There' | ||
| + | - (p-1) and (q-1) | ||
| + | - p and q are like the blueprint for making copies of the key | ||
| + | - n being hard to factor means no one can recreate the blueprint, even though they can see the lock | ||
| [[https:// | [[https:// | ||