← Cryptography learning pathCryptography · Module 1 of 10
Introduction to cryptography
Cryptography protects information with mathematics.
📖 Key ideas
- Cryptography keeps data confidential, intact and authentic.
- Plaintext is readable; ciphertext is scrambled.
- Encryption uses a key; decryption reverses it with a key.
- Kerckhoffs's principle: security should rely on the key, not on hiding the algorithm.
- Used in HTTPS, UPI, WhatsApp, banking and passwords.
💡 Real-life example: Cryptography is a lockbox: anyone can know how the lock works, but only the key holder can open it.
PlaintextReadable data
CiphertextEncrypted data
KeySecret value used by an algorithm
Kerckhoffs's principleSecurity depends on the key, not secrecy of the method