HSM KitHSM Kit
English

ANSI MACs

Calculate Message Authentication Code using ANSI X9.9 or X9.19 standard.
MAC Algorithm:
ANSI MAC X9.9 (Wholesale MAC)
Key (K):
Key (K'):
Data:
Truncation:[1]

📖 How to Use ANSI MAC Calculator

• Select MAC algorithm: X9.9 (Wholesale) for DES CBC-MAC, or X9.19 (Retail) for 3DES final block.

• Enter the primary DES key K (16 hex). For X9.19 with separate keys, also enter K' (16 hex).

• Enter data in hexadecimal format (auto-padded to 8-byte blocks).

• Set truncation length (1-8 bytes). Standard is 4 bytes for most applications.

• Click "Calculate MAC" and copy the result.

ANSI MAC FAQ