We need support for base Keccak as well as the already added SHA-3 standard subset of Keccak.
Ethereum calls its hash algo of choice "SHA-3" but was chosen before the standard was settled, and is more accurately called "Keccak-256".
| Instance |
Definition |
| eth_sha3(M) |
Keccak[256](M, 256) |
| SHA3-224(M) |
Keccak[448](M |
| SHA3-256(M) |
Keccak[512](M |
| SHA3-384(M) |
Keccak[768](M |
| SHA3-512(M) |
Keccak[1024](M |
| SHAKE128(M, d) |
Keccak[256](M |
| SHAKE256(M, d) |
Keccak[512](M |
table from sha-3 wiki
further reading:
We need support for base Keccak as well as the already added SHA-3 standard subset of Keccak.
Ethereum calls its hash algo of choice "SHA-3" but was chosen before the standard was settled, and is more accurately called "Keccak-256".
table from sha-3 wiki
further reading: