Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
ISACA · CISA

Encryption and public key infrastructure

CISA · Lesson 26 of 30 · 3:06:27

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the ISACA CISA exam, on the current exam content outline. In this lesson: symmetric and asymmetric, hashing and signatures, key management, and public key infrastructure. Includes three original practice questions, with Ivybrook Supply, a fictional distributor of building materials and tools, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

An expired certificate

The online store's certificate expired on a Saturday, and customers saw security warnings all weekend. Meanwhile, the keys that encrypt the customer database sit in a text file, on the database server itself. Encryption only protects data when the keys and certificates are managed well.

Symmetric and asymmetric encryption

Symmetric encryption uses the same key to encrypt and decrypt: it is fast, and suits large amounts of data, but the key must be shared safely. Asymmetric encryption uses a key pair: a public key that anyone may have, and a private key that only its owner holds. Data encrypted with someone's public key can only be decrypted with their private key, which protects confidentiality. In practice, asymmetric encryption is used to exchange a symmetric key, which then encrypts the data, as in the protocol that protects web traffic.

Hashing and digital signatures

A hash function turns data into a short, fixed-length value, and the smallest change in the data gives a completely different value. Hashing is one way, so it proves integrity, and protects stored passwords when combined with a random salt. A digital signature is a hash of the message, encrypted with the sender's private key. Anyone can check it with the sender's public key, which proves integrity, authenticity, and non-repudiation.

Key management

Encryption is only as strong as the management of its keys. Keys are generated securely, distributed safely, and stored apart from the data they protect, ideally in a hardware security module. They are rotated on a schedule, and revoked or destroyed when they are no longer needed. Critical keys are backed up, so encrypted data is not lost with them. And no single person controls a critical key alone: dual control and split knowledge share the duty.

Encryption in practice

Data in transit is protected with encrypted protocols, such as TLS for web traffic and virtual private networks for remote access. Data at rest is protected with disk, database, or file encryption. The auditor checks that encryption follows the data classification, and that weak or outdated algorithms are retired. And the auditor reviews who can reach the keys, because whoever holds the keys can read the data.

Public key infrastructure

Public key infrastructure lets people trust that a public key really belongs to its owner. A certificate authority issues digital certificates, which bind a public key to an identity, and signs them. A registration authority verifies the identity of whoever requests a certificate, before the authority issues it. When a private key is compromised, the certificate is revoked before it expires. Revocation is published in a certificate revocation list, or answered online through the online certificate status protocol.

Auditing certificates

The private key of a certificate authority is its most valuable asset, so the root authority is often kept offline, in a hardware security module. An inventory of certificates, with owners and expiry dates, prevents outages from forgotten renewals. Certificates are renewed automatically where possible, and alerts warn before expiry. And the auditor checks that revocation is checked, because a revoked certificate that is still accepted protects nothing.

Recap

Let's recap. Symmetric encryption is fast with one shared key, and asymmetric encryption uses a public and a private key. Hashes prove integrity, and digital signatures add authenticity and non-repudiation. Keys are generated, stored apart from the data, rotated, backed up, and controlled by more than one person. Encryption protects data in transit and at rest, in line with classification. And public key infrastructure relies on certificate authorities, registration authorities, revocation, and a well kept certificate inventory.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. A supplier must be sure that a price file came from Ivybrook, and was not changed. What should Ivybrook use?

    • A digital signature
    • The supplier's public key
    • A key shared by email
    • A hash sent with the file
    Show the answer

    A digital signature

    A digital signature made with Ivybrook's private key proves both the origin and the integrity of the file. “The supplier's public key” is wrong, because encrypting with the supplier's public key keeps the file confidential, but does not prove who sent it. “A key shared by email” is wrong, since a key sent by email could be read by anyone who intercepts it. And “A hash sent with the file” is wrong, because a hash sent with the file could be replaced along with it.

  2. The keys that encrypt the customer database are stored in a file on the same database server. What is the main risk?

    • The database runs more slowly
    • The algorithm becomes weaker
    • One breach exposes data and keys
    • Backups of the data will fail
    Show the answer

    One breach exposes data and keys

    An attacker who reaches the server gets both the encrypted data and the keys to read it. “The database runs more slowly” is wrong, because where the keys are stored does not change how fast the database runs. “The algorithm becomes weaker” is wrong, since keeping keys nearby does not make the algorithm weaker, it makes the keys easier to steal. And “Backups of the data will fail” is wrong, because backups are a separate question from where the keys are kept.

  3. The private key of a store server’s certificate was stolen. What must happen to the certificate?

    • Wait until it expires
    • Revoke it and publish the revocation
    • Renew it with the same key
    • Change the server's password
    Show the answer

    Revoke it and publish the revocation

    The certificate is revoked at once, and its revocation is published, so nobody trusts it any longer. “Wait until it expires” is wrong, because waiting for the expiry date leaves months for the stolen key to be misused. “Renew it with the same key” is wrong, since renewing the same certificate with the same key keeps the stolen key valid. And “Change the server's password” is wrong, because changing the server's password does not stop anyone from using the stolen key.