notesonly.in

One notebook for every subject — open it anywhere.

Log in

Cryptography: symmetric, asymmetric, hashing

Cyber Security · Engineering

Study notes

Send secret: AES encrypts with shared key (fast). Key exchange problem: use RSA: encrypt AES key with recipient's public key; only their private key decrypts. SHA-256 hashes passwords (never store plaintext); login compares hashes. HTTPS uses hybrid: RSA handshake, AES session.

← Back to topics for Engineering