A Key Check Value is a short value derived from a cryptographic key that allows verification that a key has been correctly entered, transferred, or stored — without revealing the key itself. Computed by encrypting a block of zeros.
Inputs
Algorithm: The encryption algorithm for KCV computation.
Key: The cryptographic key in hexadecimal.
Tips
KCV is universally used in payment systems to verify keys during key ceremonies.
KCV does not reveal any usable information about the key.
Always verify KCV when loading keys into HSMs or exchanging keys between parties.