HSM KitHSM Kit
English

ISO/IEC 9797-1 MAC

Calculate Message Authentication Code using ISO/IEC 9797-1 algorithms.
MAC Algorithm:
MAC Algorithm 1
Key (K)
Key (K')
Key (K")
Key 2 (K)
Key 2 (K')
Key 2 (K")
Padding:
ISO9797-1 (Padding method 1)
Data (Hex):
Truncation (bytes):[1]

📖 How to Use ISO 9797-1 MAC Calculator

• Select the MAC algorithm (Algorithm 1-6) from the dropdown menu.

• Enter the required keys in hexadecimal format (16 or 32 hex characters per key).

• Choose the padding method: Method 1 (zeros), Method 2 (0x80 + zeros), or Method 3 (with length).

• Enter your data in hexadecimal format in the data field.

• Set the truncation length (1-8 bytes) for the output MAC size.

• Click "Calculate MAC" to generate the Message Authentication Code.

• Copy the resulting MAC for use in your application or verification process.

ISO 9797-1 MAC FAQ