TR-31 Key Block
Wrap and unwrap ANSI X9.143 / TR-31 key blocks (versions A–D, AES and TDES), with optional blocks and published test vectors.
Learn: K4 TR-31 key blocksKeys
Header
Two characters; 00 = not used.
Header preview
D····P0AE00E0000Optional blocks
None. Add blocks for a DUKPT key set ID (KS / IK), a time stamp, a label… The padding block (PB) that aligns the header is added for you.