NIST Lightweight Cryptography finalist based on SPARKLE-384 permutation. Optimized for constrained devices with 256-bit security.
| Property | Value |
|---|---|
| Category | Hash Functions |
| Sub-category | Lightweight Hash |
| Security status | 🧪 Experimental |
| Complexity | Advanced |
| Inventor | Christoph Dobraunig, Maria Eichlseder, Florian Mendel, Martin Schläffer |
| Year | 2019 |
| Origin | 🌐 International |
| Source | algorithms/hash/esch256.js |
| Parameter | Supported values |
|---|---|
| Output sizes | 32 bytes (256 bits) |
Status: 🧪 Experimental
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 — Esch256: Empty message (NIST LWC KAT Count=1)
| Field | Value |
|---|---|
input |
(empty) |
expected |
c0e815d78b875dc768c6c8b3afa51987cd69e5c087d387368628a511cfad5730 |
Vector 2 — Esch256: Single byte 0x00 (NIST LWC KAT Count=2)
| Field | Value |
|---|---|
input |
00 |
expected |
d515fd9c2852d9d6f00c9cf01d858af467eedf21ff68cc14c005b3eff7a6ecd3 |
Vector 3 — Esch256: Two bytes 0x0001 (NIST LWC KAT Count=3)
| Field | Value |
|---|---|
input |
0001 |
expected |
fbcad7ab77fd4cc844534d2716d08c092b40b86e00647ecaa429afdfe3b3fc43 |
Vector 4 — Esch256: Four bytes 0x00010203 (NIST LWC KAT Count=5)
| Field | Value |
|---|---|
input |
00010203 |
expected |
649d3e5258e504ef842a7176108d36a823e751d5e0ee31e3faf111415bb9bbc2 |
Vector 5 — Esch256: 16 bytes (full rate) (NIST LWC KAT Count=17)
| Field | Value |
|---|---|
input |
000102030405060708090a0b0c0d0e0f |
expected |
acff841e2a526d83d6e94ab5564d6d64c98f5e8016bb1c2950386ed156c6c174 |
Vector 6 — Esch256: 32 bytes (NIST LWC KAT Count=33)
| Field | Value |
|---|---|
input |
000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f |
expected |
78b905b2e2d4110b76ef8afd2495f58ad6ffd6b9727377f3e5dfceebf3031e24 |