Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Encryption Fundamentals

Terms

One-Way Encryption

  • Bob encrypts cleartext for Alice using her public key
  • Afterwards Bob cannot decrypt the ciphertext

Two-Way Encryption

  • Bob encrypts cleartext for Alice
  • They can both decrypt the ciphertext
    • Uses a shared symmetric key

Symmetric Encryption

  • A two-way encryption key
  • Very fast to use

Asymmetric Encryption

Slow encryption, with two parts:

  • Public Key - used for one way encryption.
  • Private Key - used for one way decryption.

DHDiffie Hellman

  • 1976 method of exchanging secret symmetric keys using asymmetric keys

References

Diffie–Hellman key exchange - Wikipedia

Last Modified • Sunday, June 14, 2026. 5:02 pm UTC+00:00 • Commit: 3aedc3f