Plain text 2. Encryption Algorithm 3. Cipher text 4. Decryption algorithm 5. Keys