EMV for Developers
In development · no dates · EN / PT-BR
A course for developers who work on chip cards, terminals, hosts or personalization. The exercises use the tools on this site. The course is in development; there are no dates, final format or price yet.
Free sample lesson
The interactive EMV transaction walkthrough shows the style of the course: one chip-and-PIN purchase from the amount at the till to settlement, with every command, key, cryptogram and message computed in your browser.
Open the walkthrough →By the end you should be able to
- Parse and build BER-TLV data and DOLs, and name the main EMV data objects
- Compute and check DES, TDES and AES operations, key check values and MACs
- Read a card application profile: AID, AIP, AFL, CDOLs and the CVM list
- Follow a contact transaction in an APDU log, from SELECT to the second GENERATE AC
- Compute and verify an ARQC and an ARPC for a given cryptogram version, and find why one does not match
- Recover issuer and ICC certificates and check offline data authentication
- Read personalization data: DGIs and CPS files
- Explain what CPV, PVT and domestic validation check, and prepare a sample for them
Assumed background
- Programming experience in any language
- Comfort with hexadecimal, bytes and bit flags
- No prior EMV knowledge assumed
Planned curriculum
EMV foundations & BER-TLV
The data model, tags, templates and DOLs, using the TLV parser.
Keys & symmetric crypto
DES/TDES/AES, KCV, MAC and key management for card work.
The card application
AID, AIP, AFL, CDOL, CVM list and the profile that ties them together.
The transaction flow, APDU by APDU
SELECT → GPO → READ RECORD → authentication → GENERATE AC.
Cryptograms in depth
ARQC/TC/AAC, session keys per CVN, ARPC, and debugging mismatches.
Offline data authentication
SDA/DDA/CDA and the certificate chain, with exercises.
Personalization & dataprep
DGIs, perso files, and how data gets onto a card.
Certification
CPV, PVT and domestic validation: what they check and how to prepare.
Team workshop
A workshop for a team can be arranged separately from the course, for example on your own logs, profiles or certification findings, with test data. Email with the team size, the topics and the language.
Ask about a team workshop →