Encryption transforms plaintext (readable data) into ciphertext (unreadable scrambled data) using an algorithm and a key. Only someone with the correct key can decrypt it back to plaintext. Encryption protects data from unauthorised access during storage or transmission.
| Term | Definition |
|---|---|
| Plaintext | The original, readable message/data |
| Ciphertext | The encrypted, unreadable output |
| Encryption | Converting plaintext → ciphertext using a key |
| Decryption | Converting ciphertext → plaintext using a key |
| Key | A value (bit string) used by the algorithm to encrypt/decrypt |
| Cipher | The algorithm used to encrypt/decrypt |
Both sender and receiver use the same key to encrypt and decrypt. Also called private key or secret key cryptography.
AES (Advanced Encryption Standard), DES (older), 3DES
Uses a mathematically linked key pair: a public key (shared openly) and a private key (kept secret by the owner). Data encrypted with the public key can only be decrypted with the private key.
RSA, ECC (Elliptic Curve Cryptography)
HTTPS uses both: asymmetric encryption to securely exchange a symmetric session key, then the fast symmetric key for the actual data transfer. This solves the key distribution problem while maintaining speed.
A simple substitution cipher — each letter is shifted by a fixed number. E.g. shift 3: A→D, B→E. Plaintext: HELLO → Ciphertext: KHOOR. Easily broken by frequency analysis — not used today.
A hash function converts data to a fixed-length digest. Even a tiny change produces a completely different hash. Used for integrity — verifying data hasn't been tampered with. Digital signatures combine asymmetric encryption with hashing to prove authenticity and integrity.
8 questions · instantly marked · AQA 7517 standard
| Term | Definition |
|---|
10 questions · 10 minutes