Encryption transforms readable data into scrambled ciphertext that can only be decrypted with the right key. Two types: encryption at rest (data stored in databases, files) and encryption in transit (data sent over networks). Use HTTPS/TLS for transit, AES-256 for at rest. Encryption protects data from breaches, eavesdropping, and unauthorized access.
Encrypt ALL data in transit with HTTPS/TLS—no excuses. For sensitive data at rest (passwords, PII, financial data), use AES-256 encryption. Use bcrypt/Argon2 for password hashing (not AES). For end-to-end encryption (E2EE), only users have keys—not even you can decrypt (Signal, WhatsApp). Most cloud providers (AWS, GCP) offer automatic encryption at rest.
Cybersecurity
Scramble data so only authorized users can read it