⌂ Home
Foundations
1 Toolbox: XOR, DES, AES, MAC
2 HSMs & key hierarchy
Moving keys between companies
3 Key exchange & KCV
4 Key blocks (TR-31, AKB)
Keys on the card
5 CVV / CVC
6 EMV chip keys & ARQC
7 PIN blocks & ZPK
Putting it together
8 Launching a new BIN
Reference
· Glossary
· Reading list
Glossary
AC / ARQC / TC / AAC Application cryptograms from an EMV chip: authorisation request, transaction certificate (approved), application authentication cryptogram (declined). All are MACs.
AKB Atalla Key Block — the original key block format, ancestor of TR-31 .
ARPC Authorisation response cryptogram: issuer’s proof to the card that the answer is genuine.
ATC Application transaction counter on the chip; increases with every transaction.
BDK / DUKPT Base derivation key; derived unique key per transaction — terminal-side (acquiring) key management.
BIN / IIN First 6–8 digits of the PAN ; identifies the issuer’s product.
Bureau Card manufacturer/personaliser that writes keys to chips and prints cards.
CMAC Cipher-based MAC (NIST SP 800-38B). Used by TR-31 and AES KCVs.
Component One random share of a key; key = XOR of all components.
CVK Card verification key: computes CVV /CVC values. TR-31 usage C0.
CVV / CVV2 / iCVV (CVC1 / CVC2 / Chip CVC )Static check values on stripe / printed / chip; differ by service code (card’s / 000 / 999).
CVC3 / dCVVDynamic per-tap check value for contactless mag-stripe mode.
Dual control / split knowledge No single person can act alone / no single person knows a whole key.
EMV The chip card standards body (Europay, Mastercard, Visa) and its specifications.
Excrypt Futurex’s HSM command interface.
HSM Hardware security module. Thales payShield, Futurex, Atalla, AWS Payment Cryptography.
IDN ICC dynamic number (Mastercard); MK-IDN derives it.
IMK / MDK Issuer master key, from which card keys are derived. Types: AC , SMI , SMC , IDN , CVC3 .
KBPK / KBEK / KBAK Key block protection key, and the encryption and authentication keys derived from it.
KCV Key check value: first bytes of encrypting zeros (3DES ) or a CMAC of zeros (AES ).
KEK Key-encrypting key — any key used only to protect other keys.
Key ceremony Controlled event where custodians load or generate key components.
LMK / MFK HSM master key (Thales / Futurex, Atalla).
MAC Message authentication code: keyed checksum proving integrity.
MK-AC / MK-SMI / MK-SMC Master keys for cryptograms / script integrity / script confidentiality.
PAN / PSN Primary account number (card number) / PAN sequence number.
PIN blockPIN formatted with padding (and the PAN , in ISO-0) so it can be encrypted. ISO formats 0, 1, 3, 4.
PVK / PVV PIN verification key / PIN verification value stored instead of the PIN .
Service code 3 digits on the stripe describing card usage; input to CVV .
STIP Stand-in processing: the network authorises on the issuer’s behalf when it’s unavailable.
TR-31 / X9.143Standard key block format binding key usage to the key.
TR-34 RSA /certificate-based symmetric key distribution, without paper components.
Variant Older way to tie a key to its type by XORing the KEK with a constant.
ZMK / ZCMK / BKEMZone master key: the KEK shared by two organisations.
ZPK / PEK / IWK / AWK PIN encryption keys used between zones (issuer/acquirer working keys).
Every calculator runs in your browser; nothing you type leaves the page. Use test keys only — never real ones.