Encryption(N/A)
The process of converting data into a format that can only be read with the proper key.
What is Encryption?
In one sentence: Encryption means locking data so only someone with the key can open it!
Imagine you have a confidential letter. You put it in a locked box. Only someone with the key can open it. Encryption is this — you convert data into something meaningless, only with the right key it returns to original state.
Types of Encryption:
Symmetric: One key for lock and unlock. Fast but you must transfer the key securely.
Asymmetric: Two keys — Public (for lock), Private (for unlock). More secure but slower.
Use Cases:
HTTPS: Browser and server communication gets encrypted.
Disk Encryption: You encrypt your hard drive. If stolen, data isn't readable.
Password Hashing: You hash passwords (one-way). If database leaks, passwords stay secure.
Messaging: Your messages get encrypted (like Signal, WhatsApp).
Why is it important for security?
Because without encryption, anyone in the path can read your data. Passwords, messages, bank info, all get leaked.