HSM KitHSM Kit
English

TR-31 Key Block

Encode and decode TR-31/ANSI X9.143 key blocks with KBPK protection
KBPK:[32]
Key Block version
Plain Key:[32]
Header:
Version Id:
A - Key Variant Binding Method
Key Usage:
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.

TR-31 Key Block FAQ