Domain 1.0 · General Security Concepts · 12% of the exam

Security+ 1.4: Cryptographic solutions

Official objective: 1.4 Explain the importance of using appropriate cryptographic solutions

Which crypto tool fits which job. You need PKI basics, symmetric versus asymmetric encryption, where data is encrypted (full disk, partition, file, volume, database, record, transport), key management hardware, hashing, salting, digital signatures, blockchain and certificates.

What to know

Symmetric encryption
One shared key, fast, used for bulk data. AES is the standard. The hard part is sharing the key safely.
Asymmetric encryption
A public and private key pair. Slower; used for key exchange and signatures. RSA and ECC are common; ECC gives equal strength with shorter keys.
Key exchange
Diffie-Hellman (and ECDHE) lets two parties agree a shared secret over an untrusted network. Ephemeral keys give perfect forward secrecy.
PKI
Certificate authorities issue certificates binding a public key to an identity. Root of trust, intermediate CAs, CSRs, CRLs and OCSP (with stapling) for revocation.
Certificates
Wildcard (*.example.com), SAN (many names), self-signed (no CA trust), third-party (publicly trusted). The private key never leaves the owner.
TPM, HSM and secure enclave
TPM is a chip in one device (disk encryption keys, measured boot). HSM is dedicated hardware for an organisation's keys. A secure enclave isolates secrets inside a processor.
Key escrow
A trusted third party holds a copy of keys so data can be recovered.
Hashing and salting
Hashes (SHA-256) give fixed-length fingerprints for integrity. A salt is random data added per password so identical passwords hash differently and rainbow tables fail.
Key stretching
PBKDF2, bcrypt and similar run the hash many times so brute-forcing stolen password hashes is slow.
Digital signature
Hash the message and encrypt the hash with the sender's private key. Gives integrity, authentication and non-repudiation.
Obfuscation
Steganography (hide data in other data), tokenization (swap a value for a meaningless token) and data masking (show only part of a value).
Blockchain and open public ledger
A distributed, append-only ledger where each block contains the hash of the previous one, so tampering is evident.

Where people lose marks

Practise 1.4

Free questions on this objective, each with the answer and why every option is right or wrong:

Go deeper

More from domain 1.0

Objective codes and titles are CompTIA's published SY0-701 exam objectives. The explanations are our own. SY0-701 is offered until it retires; see SY0-701 or SY0-801 to pick your version.