ISO 8583 Parser
🔒 Premium · 进阶 · 约 12 分钟Advanced · ~12 min read

EMV 芯片交易与 DE55 深入:ARQC / TVR / CVMEMV Chip & DE55 Deep Dive: ARQC / TVR / CVM

预览:磁条卡的数据是静态的、可复制;EMV 芯片卡每笔交易都生成唯一的动态密文,这就是它更安全的根本原因。这篇拆解 DE55 里承载的 EMV 数据、密文 ARQC 的由来,以及 TVR/CVM 如何决定一笔交易走联机还是脱机、批准还是拒绝。 Preview: magstripe data is static and clonable; an EMV chip generates a unique dynamic cryptogram for every transaction — that's the core reason it's safer. This piece breaks down the EMV data carried in DE55, where the ARQC cryptogram comes from, and how TVR/CVM decide online-vs-offline and approve-vs-decline.

DE55 里到底装了什么What's inside DE55

DE55 以 BER-TLV(Tag-Length-Value)格式承载芯片交易数据,一个个标签(Tag)拼在一起。最关键的几个:DE55 carries chip data as BER-TLV (Tag-Length-Value), a sequence of tags. The most important ones:

Tag含义Meaning
9F26应用密文 ARQC/TC/AACApplication Cryptogram (ARQC/TC/AAC)
9F27密文信息数据 CIDCryptogram Information Data (CID)
9F36应用交易计数器 ATCApplication Transaction Counter (ATC)
95终端验证结果 TVRTerminal Verification Results (TVR)
9F34CVM 结果CVM Results
82应用交互特征 AIPApplication Interchange Profile (AIP)

本站解析工具已经能把 DE55 逐 Tag 解出来,并对 TVR(95)、AIP(82)、CID(9F27)、CVM(9F34)做逐位翻译。下面我们讲这些位背后的逻辑The parser tool on this site already decodes DE55 tag by tag and bit-decodes TVR (95), AIP (82), CID (9F27) and CVM (9F34). Below we cover the logic behind those bits.

密文 ARQC 是怎么来的Where the ARQC comes from

卡片用只有卡和发卡行知道的密钥,对交易关键数据(金额、货币、不可预知数、ATC、TVR 等)做加密运算,生成 ARQC。发卡行用同样密钥重算校验——对得上才可能批准。因为含 ATC(每笔递增)和随机数,每笔密文都不同,无法重放Using a key known only to the card and the issuer, the card computes a cryptographic MAC over key transaction data (amount, currency, unpredictable number, ATC, TVR …) to produce the ARQC. The issuer recomputes it with the same key to verify — a match is required for approval. Because it includes the ATC (incrementing) and a random number, every cryptogram is unique and cannot be replayed.

🔒

订阅后解锁全文Subscribe to read the full article

进阶内容包含:TVR 逐位含义与「为什么被强制联机」、CVM 列表如何决定验证方式(PIN/签名/免验)、脱机数据认证 SDA/DDA/CDA、发卡行脚本 71/72,以及一个真实报文的完整 DE55 拆解实战。The rest covers: every TVR bit and "why it went online", how the CVM list picks the verification method (PIN/signature/no-CVM), offline data authentication (SDA/DDA/CDA), issuer scripts 71/72, and a full DE55 walkthrough on a real message.

订阅功能即将上线 · 敬请期待Subscriptions coming soon — stay tuned