Introduction
Imagine sending a secret message to a friend but not wanting anyone else to read it. Encryption solves this problem by turning your message into a secret code that only your friend can understand.
Imagine writing a letter in a special invisible ink that only you and your friend know how to reveal. Without the secret way to see the message, anyone else just sees a blank paper.
┌───────────┐ ┌───────────────┐ ┌─────────────┐ ┌───────────────┐ │ Plaintext │─────▶│ Encryption │─────▶│ Ciphertext │─────▶│ Decryption │─────▶ Plaintext │ (Message) │ │ (Using Key) │ │ (Secret Code)│ │ (Using Key) │ └───────────┘ └───────────────┘ └─────────────┘ └───────────────┘