Join our Newsletter — 33% off our NHI Course
Home› Guides› Cryptography Glossary: Plain Definitions from AEAD and KDF…
Glossary Data Security

Cryptography Glossary: Plain Definitions from AEAD and KDF to Post-Quantum KEMs

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 25 November 2026 17 min read
On this page

Cryptographic failures in production rarely come from broken algorithms; they come from misunderstood terms, such as reusing a nonce because it was treated like a salt, or feeding a password into a key derivation function that was never designed for one. This glossary gives plain, practical definitions of the cryptography vocabulary that platform, data security, identity and application teams meet when they protect data, secrets and machine identities, from authenticated encryption and key derivation through to the post-quantum key-encapsulation mechanisms that NIST has standardised.

Definitions are written for practitioners, not cryptographers. Where a term is defined by an IETF RFC or a NIST publication, the entry says which one so you can check the source. Certificate, CA and revocation terms are covered in the PKI and Certificate Glossary, and identity and secrets vocabulary in the NHI and IAM Glossary, so this page does not repeat them. For a structured introduction rather than an A to Z, start with the Cryptography Basics Guide.

A

Advanced Encryption Standard (AES)
AES, the Advanced Encryption Standard, is a symmetric encryption algorithm used to turn readable data into ciphertext and back again with the same secret key. It operates on 128-bit blocks and supports 128-bit, 192-bit, and 256-bit keys. In practice, the key size affects search resistance, while the block size and mode determine how data is processed.
Associated Data
Associated Data is information that is authenticated by a cryptographic process but not encrypted. It is typically used to bind headers, metadata or context to protected content so attackers cannot alter them without detection. Defenders should include the right fields and verify them, especially for tokens, messages and encrypted records.
Asymmetric Cryptography
Asymmetric cryptography uses a matched public and private key pair to protect data and prove identity. One key encrypts or verifies, while the other decrypts or signs, enabling secure communication, digital signatures, certificate-based trust, and machine identity controls across IAM, NHI, and zero trust systems. See Digital Signatures vs Encryption.
Authenticated Encryption with Associated Data (AEAD)
Authenticated Encryption With Associated Data combines confidentiality and integrity in one cryptographic step. It prevents receivers from processing attacker-controlled ciphertext before verifying authenticity, which reduces the risk of padding or oracle-style abuse. TLS 1.3 permits only AEAD ciphers for record protection. See the Authenticated Encryption and Block Cipher Modes Guide.
Authentication Tag
An authentication tag is the short value an AEAD or MAC algorithm produces so the receiver can check that data has not been changed. For AES-GCM and AES-CCM as registered in RFC 5116, the tag is 16 octets appended to the ciphertext. In JWE it is checked on decryption to detect tampering or corruption.

B to C

Block Cipher
A block cipher is a symmetric encryption algorithm that transforms fixed-size blocks of plaintext into ciphertext using a secret key. It underpins many modes of operation for protecting data at rest and in transit. Security depends on correct mode selection, key management and avoiding weak or deprecated algorithms.
Ciphertext
Ciphertext is the unreadable output produced after plaintext is encrypted. It looks like meaningless data to anyone who does not possess the correct decryption key. Security teams rely on ciphertext to protect sensitive records if files, databases, or network traffic are exposed to unauthorised access.
Counter with CBC-MAC (CCM)
Counter with CBC-MAC (CCM) is an authenticated encryption mode for block ciphers such as AES, defined in NIST SP 800-38C. It encrypts data with counter mode and authenticates it with a CBC-MAC, so it gives both confidentiality and integrity. CCM is used in Wi-Fi WPA2 (as CCMP) and some TLS cipher suites. Like other counter-based modes, it fails badly if a nonce is reused with the same key.
Crypto-Agility
Crypto-agility is the ability to change cryptographic algorithms, certificates, and trust dependencies without redesigning production systems. It matters because cryptographic standards evolve, and organisations need accurate inventories and automated lifecycle controls before they can migrate safely. See the Crypto-Agility Guide.
Cryptographic Bill of Materials (CBOM)
CBOM is a cryptographic bill of materials that inventories algorithms, certificates, protocols, and related crypto assets. It is used to identify weak or outdated cryptography, support policy enforcement, and plan migration to stronger or post-quantum primitives. See the Cryptographic Inventory and CBOM Guide.
Cryptographic Module
A cryptographic module is the hardware, software, or firmware component that actually performs cryptographic operations. It is the object tested and validated under FIPS, not the algorithm name or protocol label alone. In practice, this could be a library, operating system provider, appliance, or hardware security module. See the FIPS 140-3 and Cryptographic Module Validation Guide.
Crypto-Shredding
Crypto-shredding is a deletion method that makes data irrecoverable by destroying the encryption keys needed to decrypt it. It is especially useful for regulated environments because the data can remain stored while becoming effectively inaccessible once the relevant key material is removed or scheduled for destruction. See the Crypto-Shredding Guide.

D to G

Data Encryption Key (DEK)
A Data Encryption Key (DEK) is the key used to encrypt and decrypt the actual data. It is usually protected by a separate key-encryption mechanism, because if a DEK is exposed, encrypted records, files, or backups can be read or altered by anyone who obtains it. See the Envelope Encryption and KMS Integration Patterns Guide.
Diffie-Hellman Key Exchange
Diffie-Hellman Key Exchange is a method for two parties to derive a shared secret over an untrusted network without sending the secret itself. It relies on large discrete-logarithm problems, so attackers target weak parameter sizes, poor group choices, and lack of authentication. Defenders should use approved groups and authenticated key exchange. See Elliptic Curve Cryptography.
Digital Signature
A verifiable cryptographic result created with a private key and checked with the matching public key. In identity systems, it is used to prove possession of a secret without revealing that secret, which makes it useful for authentication and non-repudiation. See the Code Signing Security Guide.
Elliptic Curve Diffie-Hellman (ECDH)
(EC)DH is an elliptic curve variant of Diffie-Hellman key exchange used to derive shared secrets over an insecure channel. It depends on correct curve selection, validated public keys and strong randomness for ephemeral keys. Attackers target weak parameter choices, invalid-curve handling and poor key reuse, so implementations must validate inputs carefully. See Elliptic Curve Cryptography.
Encryption at Rest
Encryption at rest protects stored data by converting it into unreadable ciphertext while it remains on disks, databases, backups, or object storage. In security architecture, it reduces exposure if storage media, snapshots, or cloud repositories are accessed without authorization, but it does not replace access controls or key management. See the Database and Storage Encryption Guide.
Encryption in Transit
Encryption in transit is the protection of data as it moves across networks, normally with TLS, so that attackers or intermediaries cannot read it. It covers traffic between users and services and between services inside a provider's network. Policies that deny requests not made over TLS are a common posture check for storage services and websites. See the Database and Storage Encryption Guide.
Envelope Encryption
A two-layer encryption pattern that uses a short-lived data encryption key to protect the data and a longer-lived key encryption key to wrap that data key. It scales rotation, supports tenant separation, and keeps the primary key material out of direct data handling. See the Envelope Encryption and KMS Integration Patterns Guide.
Forward Secrecy
Forward secrecy is a property of a session where a later compromise of a long-term private key does not reveal previously captured traffic. In workload identity environments, it limits retroactive exposure and is one of the main reasons TLS 1.3 materially improves internal mTLS risk. See the How TLS Works Guide.
Galois/Counter Mode (GCM)
Galois/Counter Mode is an authenticated encryption mode used to protect data in transit and at rest. It combines encryption with integrity checking, so attackers cannot read or silently alter ciphertext. In security architecture, GCM is commonly used with AES and depends on unique nonces to preserve confidentiality and authenticity.

H to K

Hardware Security Module (HSM)
A hardware security module (HSM) is a dedicated, tamper-resistant device or cloud service that generates, stores and uses cryptographic keys so that private key material does not leave its protected boundary. HSMs are typically validated against FIPS 140-3. They are used for tasks such as code signing, where they keep private keys away from less trusted systems and support auditable signing. See the HSM Deployment and Operations Guide.
Harvest Now, Decrypt Later
An attacker strategy where encrypted traffic or stored data is collected today and decrypted later when better computing power becomes available. It matters to NHI governance because machine identities often protect the data paths and secrets most worth preserving over time. See the Post-Quantum Cryptography Migration Guide.
Hash Function
A hash function converts an input into a fixed-length output used to verify integrity, support signatures, and store password-related values. In security, the critical property is that the output should be hard to predict, reverse, or collide with a different input. See the Hashing Guide and Hash collision attacks.
Hash-Based Message Authentication Code (HMAC)
HMAC is a keyed message authentication code that combines a cryptographic hash with a shared secret to verify message integrity and authenticity. It helps detect tampering and forged requests in APIs, tokens and signed data. Defenders must protect the secret, use strong hash functions, and rotate keys carefully.
HMAC-Based Key Derivation Function (HKDF)
HKDF is the HMAC-based Key Derivation Function, a standard method for turning input keying material into one or more derived keys. It is used to separate secrets cleanly for different purposes, and defenders should ensure strong input entropy and correct use of salt and context information to avoid key reuse problems.
Hybrid Key Exchange
Hybrid key exchange combines a classical key exchange, such as ECDH, with a post-quantum key encapsulation mechanism (KEM), such as ML-KEM, so that the session key stays secure if either one holds. It is a common way to deploy post-quantum key establishment while confidence in the new algorithms builds, though certificates and identity systems may still rely on quantum-vulnerable components. See the Cloud Provider Post-Quantum Support Tracker.
Input Keying Material (IKM)
Input Keying Material (IKM) is the secret input to a key derivation function, such as a Diffie-Hellman shared secret or a master key. In HKDF (RFC 5869) the IKM is combined with an optional salt in the extract step to produce a pseudorandom key. IKM must be kept secret and must carry enough entropy, because every key derived from it is only as strong as the IKM itself.
Key Derivation Function (KDF)
A key derivation function derives one or more cryptographically strong keys from initial keying material, as RFC 5869 describes. It lets one shared secret produce separate keys for encryption, authentication and each direction of traffic, so one key is never used for two purposes. Password-based KDFs add a salt and high computational cost to make brute-force guessing of stored passwords harder.
Key Encryption Key (KEK)
A Key Encryption Key is a higher-level key used to encrypt other encryption keys, not the underlying data itself. In identity and security systems, it protects wrapped keys in storage or transit, reducing exposure if lower-level keys are compromised. Governance must tightly control its generation, custody, rotation, and recovery. See the Envelope Encryption and KMS Integration Patterns Guide.
Key Management
Key management is the controlled lifecycle of cryptographic keys, from generation and storage through rotation, use, and retirement. In enterprise environments it is the governance layer that determines whether keys remain trustworthy across users, workloads, devices, and applications. See the Cryptographic Key Management Guide.
Key Rotation
Key rotation is the replacement of a cryptographic key with a new one, on a schedule or after suspected exposure, and moving use over to the new key. It limits how much data one key protects and how long a stolen key stays useful. It only works if the old key is retired everywhere it was trusted, and data is re-encrypted or re-wrapped where needed.
Key-Encapsulation Mechanism (KEM)
A key-encapsulation mechanism, or KEM, is a cryptographic method used to establish a shared secret between two parties. It supports secure key exchange rather than message signing. In post-quantum systems, KEMs protect the handshake step so encrypted communications can remain resilient against future advances in computing. See Crypto-Agility vs Post-Quantum Cryptography.

M to O

Message Authentication Code (MAC)
A Message Authentication Code is a short cryptographic tag that proves a message has not been altered and was created by someone who knows the shared secret key. It is used in secure communication to detect tampering and authenticate the sender, but it does not provide encryption on its own.
Mode of Operation
Mode of Operation is the way a cryptographic algorithm applies its core function to process data beyond a single block. Weak or misused modes can leak patterns, enable tampering, or reuse nonces incorrectly. Defenders choose modes that match the data flow, enforce unique nonces where required, and avoid deprecated constructions.
Module-Lattice-Based Digital Signature Algorithm (ML-DSA)
ML-DSA is the Module-Lattice-Based Digital Signature Algorithm, specified by NIST in FIPS 204. It is one of NIST's post-quantum signature standards and is intended to replace quantum-vulnerable signatures such as RSA and ECDSA in most uses. It can authenticate servers and sign certificates, so its value depends on clients and libraries being able to validate the resulting chains.
Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM)
ML-KEM is a quantum-safe key encapsulation mechanism used to establish shared session secrets over an untrusted network. It protects the confidentiality side of TLS, but it does not by itself solve certificate issuance, trust distribution, or client compatibility. See the Post-Quantum Cryptography Executive Briefing.
Nonce
A nonce is a value used once to keep encrypted messages unique and prevent reuse or replay. In secure channel implementations, nonce handling is a state-management problem as much as a cryptographic one, because incorrect sequencing can break channel continuity or validation. See the Cryptographic Protocol Failures and Misuse Guide.

P to R

Password Hashing
Password Hashing is the process of converting a password into a fixed-length cryptographic value before storage. It limits exposure if a database is stolen, but weak or fast hashes are still crackable offline. Defenders should use strong, salted password hashing and review cost settings as hardware improves. See Hashcat and Password Cracking for Defenders Guide.
Plaintext
Plaintext is information in its original, readable form before encryption is applied. It can be directly understood by people and systems, which makes it useful for processing but risky if exposed. Protecting plaintext during storage, transfer, and use is a central objective of data security programmes.
Post-Quantum Cryptography (PQC)
Cryptographic algorithms designed to remain secure against attacks from sufficiently powerful quantum computers. In practice, PQC is a migration problem as much as an algorithm problem because organisations must replace trust anchors, certificates, and secrets without breaking identity-dependent systems. See QKD vs Post-Quantum Cryptography.
Pseudorandom Key (PRK)
A Pseudorandom Key (PRK) is the fixed-length intermediate key produced by the extract step of HKDF (RFC 5869), by applying HMAC to the input keying material with a salt. The expand step then uses the PRK to derive one or more output keys for specific purposes. The PRK is as sensitive as any secret key, so it should stay in memory only as long as needed and never be logged or stored.
Quantum-Vulnerable Algorithm
A Quantum-vulnerable algorithm is a cryptographic algorithm that a sufficiently capable quantum computer could break or weaken, most notably widely used public-key schemes such as RSA and elliptic-curve methods. Defenders should inventory where it is used, prioritise migration, and protect long-lived data and identities that depend on it.
Random Number Generator (RNG)
A random number generator is a system that produces unpredictable numbers for security, simulation, and sampling. In identity and cybersecurity, RNGs create keys, nonces, salts, session tokens, and challenge values, so cryptographic strength depends on high-quality entropy, resistance to prediction, and correct implementation across software and hardware.

S to Z

Salt
A salt is a unique random value added to a password before hashing so the same password produces a different hash for each account. In identity systems, salts are not secrets, but they are essential because they break attacker precomputation and stop duplicate passwords from looking identical in storage.
Secret Sharing
Secret sharing has two senses. In cryptography it means splitting a key into shares so that a minimum number of holders must cooperate to use or rebuild it, removing single points of compromise for high-value keys such as root or signing keys. In identity practice it means transferring a credential between parties, which should preserve recipient identity, limit exposure and record access and expiry. See the Secret Sharing and Threshold Cryptography Guide.
Security Strength
Security strength is the amount of resistance a cryptographic mechanism provides against attack, usually expressed as the effort needed to break it. It depends on key size, algorithm choice, and implementation quality. Practitioners compare strength to the threat model, then check that keys, protocols, and parameters meet the required margin.
Shared Secret
A shared secret is a value known to more than one party. In key establishment it is the value both parties hold after a key exchange or KEM, usually passed through a KDF to produce the working keys rather than used directly. In authentication it is a credential such as a password, OTP or recovery code, which can often be replayed once exposed.
Stateless Hash-Based Digital Signature Algorithm (SLH-DSA)
SLH-DSA is a stateless hash-based digital signature scheme standardised by NIST as a conservative post-quantum fallback. Its security depends on hash functions rather than lattice assumptions, which makes it attractive for long-lived root-of-trust use cases, but its signatures are much larger than those of lattice-based alternatives.
Symmetric Cryptography
Symmetric cryptography uses the same secret key to encrypt and decrypt data, making it fast and efficient for protecting information in transit or at rest. In security systems, key management is the critical control, because anyone who possesses the key can read protected data and impersonate trusted communication. See Encryption vs Hashing vs Masking.
Threshold Cryptography
Threshold cryptography splits a secret or signing power across multiple parties so a defined minimum number must cooperate to perform an operation. It is used to reduce single-point compromise and support shared control. Attackers target the threshold process, key shares, and recovery workflows. Defenders should protect share distribution, quorum rules, and backups. See the Secret Sharing and Threshold Cryptography Guide.
Zeroisation
Zeroization is the process of securely erasing sensitive data from memory or storage so it cannot be recovered. In identity and security operations, it is used to clear secrets, cryptographic keys, and session material after use, reducing exposure from compromise, persistence, or forensic recovery.

Terms that are often confused

PairThe difference
Nonce vs saltMust never repeat under one key, but need not be secret vs non-secret input to a hash or KDF that may be reused in HKDF and should be unique per password in password hashing
MAC vs digital signatureShared key; any key holder can create a tag vs private key creates, public key verifies, and a third party can attribute it to the signer
Hash vs MACNo key; anyone can compute the digest vs keyed; only key holders can compute the tag
KDF vs password hashingDerives strong keys from high-entropy material quickly vs deliberately slow processing of low-entropy passwords
Key exchange vs KEMBoth parties contribute to the shared secret interactively vs one party encapsulates a secret to the other's public key
Encryption vs authenticated encryptionConfidentiality only vs confidentiality plus integrity of the ciphertext and associated data
DEK vs KEKEncrypts the data vs encrypts the data keys
Post-quantum cryptography vs quantum key distributionNew algorithms on classical hardware vs key exchange that needs quantum channels and hardware
ML-DSA vs SLH-DSALattice-based signature standard in FIPS 204 vs hash-based signature standard in FIPS 205

Standards and references

Related NHI Mgmt Group resources: Cryptography Basics Guide · PKI and Certificate Glossary · Cryptographic Key Management Guide · Post-Quantum Cryptography Migration Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.