- A source produces a message in plaintext: .
- An encryption key of the form is generated.
- Encryption algorithm forms ciphertext .
- Intended receiver, who is in possession of key , is able to invert transformation .

The attacker knows the encryption () and decryption () algorithms. Observing but not having access to or , may attempt to recover or or both by generating or .