C2 Key parity and key check values

Needs: Supporter

Lesson C2: Odd parity on DES keys, and the key check values (KCV) every key exchange is verified with.

This is a supporter feature. Create a free account, then try every supporter feature free for 7 days.

Sign in Create a free account See plans

The opening of the lesson

Why it matters

Keys are typed, read out over the phone, printed on component sheets and loaded into HSMs by people. Two cheap checks catch the mistakes:

  • Parity catches a mistyped DES key byte before it is used.
  • Key check values (KCVs) prove that two parties hold the same key without revealing it.

Every key exchange, key ceremony and HSM import you will ever do ends with "the KCV is 08D7B4", or the equivalent for your key.

In the full lesson

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

What module C2 covers →

The rest of the lesson opens with a supporter pass, which you can try free for 7 days.
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.