SHA-3-256 produces 256-bit digests using the Keccak sponge construction with capacity 512 bits. Part of the NIST FIPS 202 standard.
| Property | Value |
|---|---|
| Category | Hash Functions |
| Sub-category | SHA-3 Family |
| Variant | 256 |
| Security status | Not classified |
| Complexity | Intermediate |
| Inventor | Guido Bertoni, Joan Daemen, Michaël Peeters, Gilles Van Assche |
| Year | 2015 |
| Origin | 🇧🇪 Belgium |
| Source | algorithms/hash/sha3.js |
| Parameter | Supported values |
|---|---|
| Output sizes | 32 bytes (256 bits) |
Status: not classified — treat as unverified.
No vulnerabilities are recorded for this implementation.
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — NIST Test Vector - Empty String
| Field | Value |
|---|---|
input |
(empty) |
expected |
a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a |
Vector 2 — NIST Test Vector - ‘abc’
| Field | Value |
|---|---|
input |
616263 |
expected |
3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532 |
Vector 3 — NIST Test Vector - Long String
| Field | Value |
|---|---|
input |
61626364626364656364656664656667 65666768666768696768696a68696a6b 696a6b6c6a6b6c6d6b6c6d6e6c6d6e6f 6d6e6f706e6f7071 |
expected |
41c0dba2a9d6240849100376a8235e2c82e1b9998a999e21db32dd97496d3376 |