TR-31 Key Block
KBPK:[32]
Key Block version
Encode
Decode
Plain Key:[32]
Header:
Version Id:
A - Key Variant Binding Method
Key Usage:
B0 - BDK Base Derivation Key
Algorithm:
A - AES
Mode of Use:
B - Both Encrypt & Decrypt / Wrap & Unwrap
Key version#:
Exportability:
E - Exportable u. a KEK (meeting req. of X9.24 Pt. 1 or 2)
# Opt. KeyBlocks:
Reserved:
Optional Headers:
Optional Headers:
📖 How to Use TR-31 Key Block Tool
• Encode: Enter KBPK (3DES or AES), plain key, select Version, Key Usage, Algorithm, Mode of Use, Exportability, click Encode.
• The encoded key block contains header metadata + encrypted key + MAC for integrity.
• Decode: Enter KBPK and paste the key block data, click Decode.
• Decoded result shows all header fields (Version, Length, Key Usage, Algorithm, Mode of Use, Key Version, Exportability, Opt. Blocks), encrypted data, MAC, decrypted key, and KCV.