Question: how to calculate kcv value?
Answer: The KCV is calculated by taking an input of constant D (64 Zero bits) and key *K (128 bit string made up of two 64 bit values KL and KR ). Data value D is encrypted with KL as the key. The result is decrypted with KR as the key. The result is then encrypted with KL as the key.