ZKA (German Banking Standard)

Runs four operations from the German girocard/SECCOS world in one tool: session key derivation, PIN block encryption, PIN block decryption, and a retail MAC. Derivation is 3DES-ECB(MK, CM XOR Rnd) applied to each 8-byte half; the PIN and MAC tabs are standard 3DES under a session key you supply. The ZKA derivation spec (Anlage 2 of the Technischer Anhang) is not public, so treat the derived key as a reconstruction and confirm it against the KCV your terminal or HSM reports before relying on it.

Inputs

Tips

Standards: ISO 9797-1 (MAC Algorithm 3, padding method 2), ISO 9564-1 (format of the PIN blocks the PIN tabs operate on), NIST SP 800-67 (TDEA), ZKA/DK Technischer Anhang, Anlage 2 (proprietary — the derivation here is a public reconstruction)

Open the ZKA (German Banking Standard) tool — free, runs entirely in your browser.

Related PIN tools