Key Block Decoder (TR-31 / X9.143)
NOVODecode a TR-31 / ANSI X9.143 key block header and optional blocks, then verify the MAC and unwrap the key with a test KBPK for versions A, B, C and D.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
| Pos. | Field | Value | Meaning |
|---|---|---|---|
| 1 | Version ID | A | Key variant binding method (TDES) — deprecated |
| 2–5 | Key block length | 0072 | 72 characters |
| 6–7 | Key usage | P0 | PIN encryption key |
| 8 | Algorithm | T | Triple DES (TDES) |
| 9 | Mode of use | E | Encrypt / wrap only |
| 10–11 | Key version number | 00 | No key versioning |
| 12 | Exportability | E | Exportable under a trusted key |
| 13–14 | Optional blocks | 00 | 0 optional block(s) |
| 15–16 | Reserved | 00 | Reserved (00) |
Runs entirely in your browser. Use test keys only — never paste production keys or key blocks into a web page.
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
A TR-31 key block (now standardised as ANSI X9.143) carries an encrypted key together with a readable header that says what the key may be used for: key usage, algorithm, mode of use, version and exportability, plus optional blocks such as a DUKPT key set ID. A MAC binds header and key so neither can be changed.
This TR-31 decoder explains every header field and lists the optional blocks as you paste the key block. Add a test key block protection key to verify the MAC and unwrap the key: versions A and C (TDES variant binding), B (TDES derivation binding with CMAC) and D (AES derivation binding with AES-CMAC) are supported, and the key check value of the unwrapped key is shown.
Por que usar esta ferramenta?
- Read key usage and restrictions at a glance
- Verify and unwrap test key blocks
- Supports TDES and AES key blocks
- Runs locally — use test keys only
Recursos
Header decoding
All 16 header characters explained.
Optional blocks
KS, KC, KP, PB, TS and more, with extended lengths.
Unwrap A/B/C/D
MAC check, then decryption with your KBPK.
Key check value
KCV of the unwrapped TDES or AES key.
Como usar
Paste the key block
The header is decoded immediately.
Read the fields
Usage, algorithm, mode of use and optional blocks.
Enter a test KBPK
TDES for A/B/C, AES for D.
Verify MAC and unwrap
Copy the key and compare its KCV.