ISO8583 Converter 2846 views
Calculate CVV / CVC
Visa / MCCard Verification Value
PAN, expiry, CVK/MDK, and type-specific fields below.
Used for CVV/CVC only.
Used for dCVV only.
Shared CVV algorithm
Visa CVV and Mastercard CVC use the same DES-based scheme. What changes is the input block (especially the 3-digit service-code field).
- Use a 2-part 16-byte CVK/MDK (32 hex)
- Build Data = PAN + expiry (YYMM) + 3-digit field (+ ATC for dCVV)
- Pad with zeroes on the right to 32 hex digits
- DES-encrypt block 1 with key A
- XOR with block 2
- DES-encrypt with key A → decrypt with key B → encrypt with key A
- Decimalize: keep digits; map A–F → 0–5; first 3 digits = result
Data = (PAN + YYMM + SVC [+ ATC]) || 0… → 32 chars T1 = DES(Data[0..15], KA) T2 = DES(T1 ⊕ Data[16..31], KA) T3 = DES⁻¹(T2, KB) T4 = DES(T3, KA) CVV = decimalize(T4)[0..2]
CVV / CVC
Classic Card Verification Value (Visa) / Card Validation Code (Mastercard). Encoded on the magnetic stripe; used for card-present / track verification.
- Input: PAN + expiry (YYMM) + real service code (e.g.
101,201) - Service code: taken from track 2; enters the 3-digit SVC field as-is
- Output: 3 digits, compared to the CVV/CVC on the stripe
concat = PAN + YYMM + SVC + 0… // SVC = value you enter (e.g. 101)
iCVV
iCVV (iCVV / “chip CVV”) protects chip-generated track-equivalent data. Same algorithm as CVV, but the service-code field is forced to 999 so a magstripe CVV cannot be reused from a chip dump.
- Input: PAN + expiry + SVC fixed to
999 - Your SVC field: ignored for this mode (overridden in the calculator)
- Use: EMV / contactless track data verification
concat = PAN + YYMM + 999 + 0… // SVC always 999 for iCVV
CVV2 / CVC2
Printed on the card back (or front for Amex-style layouts). Used for e-commerce / MOTO; never stored on the magnetic stripe.
- Input: PAN + expiry + SVC fixed to
000 - Your SVC field: ignored for this mode
- Note: Visa often uses MMYY order on the physical card print; this tool uses YYMM in the crypto block (issuer convention). Match your scheme’s expiry order.
concat = PAN + YYMM + 000 + 0… // SVC always 000 for CVV2/CVC2
dCVV
Dynamic CVV changes with the Application Transaction Counter (ATC). Used in some contactless / dynamic-CVV card products so a captured code cannot be replayed forever.
- Input: PAN + expiry + SVC
000+ ATC (then pad) - ATC: required — enter the current counter (padded in the tool)
- Output: still 3 digits, but tied to that ATC
concat = PAN + YYMM + 000 + ATC + 0… // truncated to 32 chars before DES
| Type | Where used | SVC in block | Extra input |
|---|---|---|---|
CVV / CVC |
Magstripe / track 1–2 | Real service code | — |
iCVV |
Chip track equivalent | 999 (fixed) |
— |
CVV2 / CVC2 |
Printed / CNP | 000 (fixed) |
— |
dCVV |
Dynamic / contactless | 000 (fixed) |
ATC |
Recent Articles on Iso8583
ISO8583 Simulator 2855 views
Buy vs Build: Why Leading Payment Teams Choose an Enterprise ISO 8583 Simulator
Building an ISO 8583 simulator in‑house looks deceptively simple at first. Parsing messages, sending MTIs, asserting responses—on paper it appea ...ISO8583 Simulator 3069 views
ISO 8583 Performance Testing: How to Validate Throughput Before Your Switch Goes Live
What a payment switch performance test actually measures, how to structure a load profile that reflects real production traffic, and the testing appro ...ISO8583 Converter 3173 views
ISO8583 Integration vs Hiring a Payments Engineering Team: A Cost and Risk Comparison
You need ISO8583 connectivity. The question is whether you staff it or solve it. Most CTOs default to the staffing path — hire a payments engineer, ...ISO8583 Simulator 3290 views
How to Automate ISO 8583 Regression Testing in a CI/CD Pipeline
A practical guide to wiring ISO 8583 payment protocol tests into Azure Pipelines, AWS CodeBuild, Bitbucket, and GitHub Actions — so regression runs ...ISO8583 Converter 3619 views
ISO 8583 kafka integration for events - message handling
ISO 8583 kafka integration for events - message handling; neaPay iso8583 kakfa converter integrates ISO 8583 high-speed messages with Kafka's dis ...ISO8583 Converter 3634 views
ISO 8583 MQTT integration for message transport. Smart IoT, home automation, farming, oil and gas
neapay iso8583 converter integrates payments with Message queuing telemetry support (MQTT) in applications such as Remote sensing, Smart cit ...ISO8583 Simulator 3673 views
ISO 8583 Certification Testing: What Visa and MasterCard Actually Require
A practical breakdown of what Visa BASE II and MasterCard certification windows actually test, the most common failure patterns, and how to use pre-ce ...ISO8583 Converter 3718 views
NeaPay ISO8583 Converter integration with cloud-native messaging platforms AWS SQS, Google Pub/Sub, Azure Event Grid
NeaPay ISO8583 Converter to publish and consume ISO8583 messages via cloud-native messaging platforms for scalability and global reach ...ISO8583 Converter 3751 views
ISO8583 Integration with Common Message Brokers RabbitMQ, ActiveMQ, IBM MQ
NeaPay ISO8583 Converter integrates message brokers like RabbitMQ, ActiveMQ, IBM MQ, and Kafka to enable asynchronous communication between systems. I ...ISO8583 Converter 3984 views
NeaPay ISO8583 Converter Hardware Security Module (HSM) Integration
Integrate NeaPay ISO8583 Converter with a Hardware Security Module (HSM) to handle PIN translation, key management, and cryptographic operations ...ISO8583 Converter 5282 views
How to Connect a Modern Microservice to an ISO8583 Payment Network Without Writing a Single Line of Protocol Code
Your backend speaks JSON. The card network speaks ISO8583. Between those two facts sits a protocol gap that has quietly derailed more payment integrat ...Choose the product you need
Payments Simulation
Payments Integration