Encryption is the process of converting plaintext (readable data) into ciphertext (scrambled, unreadable data) using a key, so only authorized users can decrypt it back into the original form.
Encryption techniques fall into two main categories:
Same key is used for both encryption and decryption.
AES (Advanced Encryption Standard)
DES (Data Encryption Standard)
3DES (Triple DES)
Blowfish
RC4 / RC5 / RC6
Uses a pair of keys: one public, one private.
RSA (Rivest–Shamir–Adleman)
ECC (Elliptic Curve Cryptography)
ElGamal
Combines symmetric and asymmetric techniques to get the best of both.
✅ Used in SSL/TLS, VPNs, and secure email (e.g., PGP, S/MIME)
Convert data into a fixed-length "digest".
✅ One-way: You can’t reverse it to get the original data.
✅ Used for integrity checking, digital signatures, password storage.
| Technique | Type | Key Feature | Example Use Case |
|---|---|---|---|
| AES | Symmetric | Fast, secure, modern standard | File & disk encryption |
| DES / 3DES | Symmetric | Older, slower (3DES more secure) | Legacy systems |
| RSA | Asymmetric | Public/private key encryption | Secure emails, SSL |
| ECC | Asymmetric | Secure with shorter keys | Mobile apps, blockchain |
| ElGamal | Asymmetric | Based on Diffie-Hellman | PGP, key exchange |
| Hybrid | Mixed | Combines best of both worlds | HTTPS, VPNs |
| Hashing | One-way | Integrity checking (not encryption) | Passwords, data verification |
Open this section to load past papers