| Layer # | OSI Layer | TCP/IP Equivalent | Protocols / Examples |
|---|---|---|---|
| 7 | Application | Application Layer (OSI 7 + 6 + 5) | HTTP, HTTPS, DNS, SMTP, FTP |
| 6 | Presentation | SSL/TLS, JPEG, JSON, Data Encoding | |
| 5 | Session | Session Management, RPC | |
| 4 | Transport | Transport Layer (OSI 4) | TCP (Connection-oriented, reliable) vs. UDP (Connectionless, fast) |
| 3 | Network | Internet Layer (OSI 3) | IP (IPv4 / IPv6), ICMP, ARP |
| 2 | Data Link | Network Access / Link (OSI 2 + 1) | Ethernet, Wi-Fi (802.11), MAC Addressing |
| 1 | Physical | Network Cables, Fiber Optics, Radio Signals |
192.168.1.1); MAC is physical, permanent, and burned into the NIC.| Feature | Symmetric Encryption | Asymmetric Encryption | Hashing |
|---|---|---|---|
| Keys Used | 1 Shared Secret Key for both encryption & decryption | Key Pair: Public Key (Encrypts) & Private Key (Decrypts) | No Key (One-way mathematical function) |
| Primary Purpose | Confidentiality (Fast, bulk data) | Key Exchange, Digital Signatures, PKI | Data Integrity & Password Storage |
| Algorithms | AES, DES, Blowfish, Twofish, RC4 | RSA, ECDSA, Diffie-Hellman, PGP | MD5 (128-bit), SHA-256 |