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

The purpose of encryption

  • Encryption is the process of making data meaningless using encryption keys; without the correct decryption key, the data cannot be decoded.
  • An eavesdropper is another name for a hacker who intercepts data being transmitted on a wired/wireless network.
    • Encryption minimizes the risk of an eavesdropper viewing sensitive data.

Plaintext

  • Plaintext is the original text/message before it is put through an encryption algorithm.

Ciphertext

  • An encryption algorithm is a complex piece of software that takes plaintext and generates an encrypted string known as ciphertext.
  • Ciphertext is encrypted data that is the result of putting a plaintext message through an encryption algorithm.

Symmetric and asymmetric encryption

Symmetric encryption

  • Symmetric encryption is a type of encryption in which the same encryption key is used both to encrypt and decrypt a message.

Asymmetric encryption

  • Asymmetric encryption is a type of encryption that uses public keys and private keys to ensure data is secure.
    • A public key is a type of encryption key that is known to all users.
    • A private key is a type of encryption key which is known only to the single computer/user.