K6 DUKPT (TDES)

Needs: Free account

Lesson K6: A unique key per transaction: BDK, IPEK, KSN, the counter and the PIN, MAC and data variants.

Sign in to open it. A free account takes a minute.

Sign in Create a free account

The opening of the lesson

Why it matters

A PIN pad that encrypts every PIN with the same key is a single point of failure: steal the key once and every past PIN falls. DUKPT (Derived Unique Key Per Transaction, ANSI X9.24-1) gives each transaction its own key, and the PIN pad cannot work backwards to old keys. It is how most PIN pads and payment terminals encrypt PINs, and often MACs and data too.

In the full lesson

  1. The concept
  2. Step by step: the host's view
  3. In the real world
  4. Common mistakes
  5. What to test

What module K6 covers →

The rest of the lesson opens with a free account.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.