CAP Calculator

Generate CAP codes using an emulated banking card and CAP calculator, to test against real gadgets or for testing authentication servers.

This application derives session keys from the card master key, following the algorithm described in EMV 4.1, Book 2, Part III, Annex A1.3. It then uses this key to generate authentication codes following the Chip Authentication Program (CAP) specification, when given the input to the disconnected card reader and the internal configuration of the card.

Session key derivation
(e.g. '0123456789ABCDEF0123456789ABCDEF')

(e.g. '00B4')

EMV 4.1 derivation options
EMV 4.2 derivation options
Use 'xxxx000000000000' for application cryptogram and ARPC session key derivation; use the application cryptogram for secure messaging session key derivation
Card configuration

Input from customer
Reference Amount

“xxxx” is replaced by the ATC

Cryptomathic is one of the world's leading providers of security solutions to businesses across a wide range of industry sectors including finance, smart card, digital rights management and government. Cryptomathic provides cryptographic solutions for Authentication & Signing, EMV, CA-Compliance, Key Management, Public Key Infrastructure and ID Issuing.

Download white paper