jzhao.xyz

Search

Search IconIcon to open search

Encryption

Last updated Aug 8, 2022 Edit Source

A process of converting the original representation of the information (plaintext) into an alternative form (ciphertext). Ideally, only authorized parties can decipher a ciphertext back to plaintext and access the original information.

An encryption algorithm comprises

The two types of encryption are

  1. Asymmetric Key Cryptography (sometimes called public-key cryptography)
  2. Symmetric Key Cryptography

Trapdoor: a mathematical function that is easy to go one way but hard to go the other way (an effectively one-way function)

Language

Types of attacks

  1. Ciphertext-only attack: knowns $K_A(m)$ but not $m$
  2. Known-plaintext attack: for some $m$ knows $K_A(m)$
  3. Chosen-plaintext attack: knows $K_A$ but not $K_B$

Interactive Graph