โ CompTIA Security+ Exam Practice learning pathCompTIA Security+ Exam Practice ยท Module 4 of 10
Cryptography and PKI
Encryption, hashing and certificates.
๐ Key ideas
- Symmetric encryption uses one shared key (AES); asymmetric uses public and private keys (RSA, ECC).
- Hashing (SHA-256) creates a fixed-length digest; it is one-way and used for integrity and password storage (with salts).
- Digital signatures use the sender's private key; anyone can verify with the public key.
- PKI uses certificate authorities (CAs) to issue certificates that bind public keys to identities.
- TLS secures web traffic (HTTPS); keys must be protected, rotated and revoked when compromised.
๐ก Real-life example: Like a padlock anyone can close (public key) but only the owner can open (private key).
Symmetric encryptionSame key encrypts and decrypts
Asymmetric encryptionPublic and private key pair
HashFixed-length one-way digest
Certificate authorityTrusted issuer of digital certificates