11.4 Enterprise Cryptography & Key Management Lifecycle
Key Takeaways
Choose primitives for the required security properties, then verify parameters and key protection.
Distinguish confidentiality from hiding the existence of a message. Treat key agreement, signatures, hashes and MACs as distinct functions.
Validate certificate identity, path and permitted use. Verify the status method and failure behavior in the actual protocol.
Set cryptoperiod, recovery and retirement by key purpose, data lifetime and risk.
Verify module validation and key interoperability and plan a tested migration for long-lived risks.
Enterprise Cryptography and Key Management
A cryptosystem combines data, algorithms, keys and parameters to provide specified properties. Encryption transforms plaintext into ciphertext using an algorithm and key. Decryption uses the appropriate key and parameters to recover plaintext. Modern authenticated encryption also verifies an authentication tag before treating plaintext as valid. A nonce or initialization vector may be needed and has specific requirements under the chosen scheme. Steganography aims to hide the existence of a communication. It can be combined with encryption that protects the contents. NIST cryptography and key management guidance · NIST steganography glossary
Match the primitive to the security property
| Primitive | Purpose and boundary |
|---|---|
| Symmetric encryption | Parties use shared secret keying material. AES has a 128-bit block size with 128-, 192- or 256-bit keys. ECB preserves equality of plaintext blocks under the same key. CBC ordinarily requires an unpredictable IV and provides confidentiality without authentication on its own. GCM provides authenticated encryption with associated data. Meet the required IV uniqueness, key usage bounds and tag verification rules. A valid shared-key tag gives assurance within the group holding the key. |
| Public-key cryptography | Uses public and private key material. Choose distinct schemes for compatible purposes, such as ECDH for key agreement and ECDSA for signatures. Authenticate the public key or protocol exchange to establish who is at the other end. Signatures support origin and integrity evidence when the verifier validates identity, algorithm, key and signature. |
| Cryptographic hash | A fixed-output digest such as SHA-256 can support change detection when the reference digest comes from a trusted source. Preimage resistance concerns finding an input for a given digest. Second-preimage resistance concerns another input that matches a specified input's digest. Collision resistance concerns any two distinct inputs with the same digest. An unkeyed digest sent with the data does not authenticate an untrusted sender. |
| Message authentication code (MAC) | HMAC uses a hash and secret key for integrity and data origin authentication among holders of that key. Because multiple parties can produce a tag, it does not provide the verifier with the same attribution evidence as a message signed with a private key. |
NIST estimates 128 bits of classical security strength for an RSA 3072-bit modulus and elliptic-curve cryptographic sizes from 256 to 383 bits in its comparison table. Compare strength, supported schemes, implementation, processing and bandwidth for both peers. Avoid treating an algorithm family as a single signing and key agreement operation. If all 1,000 participants need separate, pairwise preshared secrets, there are 1,000 × 999 ÷ 2 = 499,500 pairs. Key distribution services, asymmetric establishment and managed session keys can use different arrangements. FIPS 197 · NIST GCM · NIST security strengths and key types · RFC 2104 HMAC
When planning a transition, distinguish protecting new data from reading or verifying information protected earlier. NIST SP 800-131A Rev. 2, for example, distinguishes legacy decryption from applying new protection with three-key Triple DES. NIST recommends that federal agencies migrate from SHA-1 to SHA-2 or SHA-3 as soon as possible. Inventory dependencies and test interoperability before removing older capabilities needed for lawful retention or recovery. NIST algorithm transitions · NIST hash function policy
Establish trust and check certificate status
A public key infrastructure (PKI) manages certificate identity proofing, issuance, public key use, renewal and revocation. A relying party validates the certification path to a configured trust anchor. A root CA often signs intermediate CA certificates, and an issuing CA signs leaf certificates after enrollment and identity checks. A registration authority may verify the requester. PKI can isolate the root signing key and tightly control root use. A compromised subordinate can require revocation and replacement of its branch. A compromised trust anchor can require distribution of new trust settings and reissuing affected chains. These actions require coordinated rollout and verification.
An X.509 certificate associates a subject with a public key under the issuer's signature. Validate the path, permitted usage and time, and match the intended identity using the appropriate fields, such as a server DNS name in Subject Alternative Name. A certificate is not a live proof of private-key possession by itself. A protocol has its own authentication step and policy.
- Certificate revocation list (CRL): Published, signed status information that can be cached. Its update cadence and relying party processing matter.
- Online Certificate Status Protocol (OCSP): Requests status for a certificate and returns a signed response when available. Check signer authority, certificate identifier, status and freshness. A good status by itself does not establish certificate validity.
- OCSP stapling: In a supporting arrangement, the server supplies a signed status response during TLS. It can avoid separate client lookups for the stapled certificate. The server still needs current responses, and client policy determines how missing, stale or unsupported responses are handled. TLS 1.3 carries the response in the associated CertificateEntry extension. RFC 9846 supersedes the original TLS 1.3 RFC 8446.
RFC 5280 PKI · RFC 6960 OCSP · RFC 9846 TLS 1.3 · RFC 9525 service identity
Plan for each key's purpose and lifetime
Inventory data, algorithms, keys, locations, protection needs, owners and cryptographic dependencies. Plan secure key generation with approved random generation where required, authenticated establishment or protected distribution, authorized use and storage, and response to compromise. The cryptoperiod depends on the kind of key, scheme, amount and sensitivity of data, threats, protection of the key and intended use. After ending encryption with a key, it may still be needed for authorized decryption while data are retained. Separate use, retention, recovery and destruction decisions. NIST SP 800-57 Part 1 Rev. 5 is the final guidance used here. Rev. 6 is an initial public draft.
Worked decision. A service rotates the key used for new backups. Before deleting the old key, verify which retained versions still require it and whether they can be reprotected. Test recovery with controlled access and evidence. Avoid retaining sensitive private key material beyond the role it serves. NIST generally bars archiving private signature keys and discusses specific cases for controlled backup, such as a CA key. For exit by cryptographic erase, confirm the target data were encrypted as required, all relevant key copies can be sanitized, and no alternate copy remains independently recoverable. Verify and validate the sanitization. NIST SP 800-57 Pt. 1 Rev. 5 · Rev. 6 initial draft · NIST SP 800-88 Rev. 2
Hardware security modules can protect key material and perform operations within a defined module boundary. FIPS 140-3 defines four qualitative levels for cryptographic modules. Check the exact CMVP certificate, level, version, approved mode and operating environment required by the use case. As of September 22, 2026, FIPS 140-2 validations moved off the active list, with historical modules potentially usable for existing systems as allowed. OASIS KMIP specifies client-server operations for key management. Test profiles and functions across the actual products, including recovery and authorization. FIPS 140-3 · CMVP status · OASIS KMIP
Prepare to change algorithms safely
A sufficiently capable future quantum computer threatens factoring and discrete-logarithm systems such as RSA and current elliptic-curve schemes. Long-lived secrets may be at risk if communications are captured now and decrypted later. Inventory affected data and systems, prioritize by confidentiality lifetime and migration lead time, and test interoperability, performance and fallback with the required protocol profiles. NIST's initial post-quantum standards are FIPS 203 ML-KEM for establishing a shared secret, and FIPS 204 ML-DSA and FIPS 205 SLH-DSA for signatures. Use standardized combinations where needed. A key-encapsulation mechanism establishes keying material for use by other primitives. NIST PQC standards · NIST KEM recommendations
A constrained monitoring device needs separate classical key agreement and digital signatures, with a target equivalent to RSA-3072 in the NIST strength table. Which candidate design best fits the requirements if implementation and interoperability are confirmed?
AES-GCM with a shared key for any participant to use for encryption and public verification.
ECDH for agreement and ECDSA for signing on a supported 256-bit curve, with authenticated key exchange and validation of performance on both endpoints.
An unkeyed SHA-256 digest sent with each message for private agreement and signing.
The same unauthenticated public key download for every peer, followed only by a shared HMAC.
A company controls both TLS server and client configuration. Its certificate profile supports OCSP and its clients can verify stapled responses. Separate client requests for status are adding delay. What should it test?
Disable all status handling and treat path validation as revocation evidence.
Download a new full CRL at every handshake and assume it eliminates the dependency.
Configure servers to supply valid signed OCSP responses and test freshness, client validation and behavior when the response is unavailable.
Use a self-signed leaf for every server without distributing any trust settings.
A new system contract requires an active FIPS 140-3 Level 3 hardware module for root key protection. Its storage clients are expected to use a common key-management protocol. What should the CISO verify before acceptance?
That the vendor uses the word HSM in documentation regardless of validation status.
That the provider can run a software-only CA without showing where keys are protected.
That each client stores its key in an encrypted configuration file and implements its own interface.
That the deployed hardware module, version and mode match an active Level 3 certificate and that KMIP operations, authorization and recovery work with the actual clients.
Sections you finish are checked off in the contents.