NIST Lightweight Cryptography finalist with 128-bit rate. Balanced performance using PHOTON-256 permutation with efficient absorption for larger messages.
| Property | Value |
|---|---|
| Category | Authenticated Encryption |
| Sub-category | Authenticated Encryption |
| Security status | 🛡️ Secure |
| Complexity | Intermediate |
| Inventor | Zhenzhen Bao, Avik Chakraborti, Nilanjan Datta, Jian Guo, Mridul Nandi, Thomas Peyrin, Kan Yasuda |
| Year | 2019 |
| Origin | 🌐 International |
| Source | algorithms/aead/photon-beetle.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 16 bytes (128 bits) |
| Tag sizes | 16 bytes (128 bits) |
| Flag | Value |
|---|---|
SupportsDetached |
No |
Status: 🛡️ Secure
No vulnerabilities are recorded for this implementation.
5 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — NIST LWC Vector #1 (empty PT, empty AD)
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
nonce |
000102030405060708090a0b0c0d0e0f |
associatedData |
(empty) |
input |
(empty) |
expected |
df4e0bac1162408098fa5cf084d8f464 |
Vector 2 — NIST LWC Vector #2 (empty PT, 1-byte AD)
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
nonce |
000102030405060708090a0b0c0d0e0f |
associatedData |
00 |
input |
(empty) |
expected |
e840449949081c5378e01eba6046dbe8 |
Vector 3 — NIST LWC KAT Count=34 (1-byte PT, empty AD)
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
nonce |
000102030405060708090a0b0c0d0e0f |
associatedData |
(empty) |
input |
00 |
expected |
a75df91ea594d719d44f29e78e0ae94872 |
Vector 4 — NIST LWC KAT Count=529 (16-byte PT, empty AD)
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
nonce |
000102030405060708090a0b0c0d0e0f |
associatedData |
(empty) |
input |
000102030405060708090a0b0c0d0e0f |
expected |
a7b9af5ba1aa580976839229747c9e32403476d930a13d7af7299e3681fc702b |
Vector 5 — NIST LWC KAT Count=35 (1-byte PT, 1-byte AD)
| Field | Value |
|---|---|
key |
000102030405060708090a0b0c0d0e0f |
nonce |
000102030405060708090a0b0c0d0e0f |
associatedData |
00 |
input |
00 |
expected |
850d8807c20344c924e2d35382dd3f2d8e |