โ† CompTIA Security+ Exam Practice learning path
CompTIA Security+ Exam Practice ยท Module 4 of 10

Cryptography and PKI

Encryption, hashing and certificates.

๐Ÿ“– Key ideas

  1. Symmetric encryption uses one shared key (AES); asymmetric uses public and private keys (RSA, ECC).
  2. Hashing (SHA-256) creates a fixed-length digest; it is one-way and used for integrity and password storage (with salts).
  3. Digital signatures use the sender's private key; anyone can verify with the public key.
  4. PKI uses certificate authorities (CAs) to issue certificates that bind public keys to identities.
  5. 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