Parallelizable Message Authentication Code using AES-128. Provides provably secure message authentication with parallel processing capability.
| Property | Value |
|---|---|
| Category | Message Authentication |
| Sub-category | Block Cipher MAC |
| Security status | π‘οΈ Secure |
| Complexity | Advanced |
| Inventor | Phillip Rogaway |
| Year | 2002 |
| Origin | πΊπΈ United States |
| Source | algorithms/mac/pmac.js |
| Parameter | Supported values |
|---|---|
| MAC sizes | 16 bytes (128 bits) |
| Flag | Value |
|---|---|
NeedsKey |
Yes |
Status: π‘οΈ Secure
No vulnerabilities are recorded for this implementation.
6 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β LibTomCrypt PMAC-AES-128-0B (Empty)
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
(empty) |
expected |
4399572cd6ea5341b8d35876a7098af7 |
Vector 2 β LibTomCrypt PMAC-AES-128-3B
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
000102 |
expected |
256ba5193c1b991b4df0c51f388a9e27 |
Vector 3 β LibTomCrypt PMAC-AES-128-16B
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
000102030405060708090a0b0c0d0e0f |
expected |
ebbd822fa458daf6dfdad7c27da76338 |
Vector 4 β LibTomCrypt PMAC-AES-128-20B
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
000102030405060708090a0b0c0d0e0f10111213 |
expected |
0412ca150bbf79058d8c75a58c993f55 |
Vector 5 β LibTomCrypt PMAC-AES-128-32B
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f |
expected |
e97ac04e9e5e3399ce5355cd7407bc75 |
Vector 6 β LibTomCrypt PMAC-AES-128-34B
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
input |
000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 2021 |
expected |
5cba7d5eb24f7c86ccc54604e53d5512 |