Double MAC (DMAC) using two-key derivation for enhanced CBC-MAC security. Designed for real-time data sources with variable-length messages.
| Property | Value |
|---|---|
| Category | Message Authentication |
| Sub-category | Block Cipher MAC |
| Security status | 🎓 Educational Only |
| Complexity | Intermediate |
| Inventor | Erez Petrank, Charles Rackoff |
| Year | 1997 |
| Origin | Not specified |
| Source | algorithms/mac/dmac.js |
| Parameter | Supported values |
|---|---|
| MAC sizes | 8 bytes (64 bits) |
| Flag | Value |
|---|---|
NeedsKey |
Yes |
Status: 🎓 Educational Only
No vulnerabilities are recorded for this implementation.
1 vector ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — Crypto++ DMAC<DES> Test Vector
| Field | Value |
|---|---|
key |
0123456789abcdef |
input |
37363534333231204e6f77206973207468652074696d6520666f7220 |
expected |
3580c5c46b8124e2 |