-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Description
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:
- http://ethereum.stackexchange.com/questions/550/which-cryptographic-hash-function-does-ethereum-use
- Rename/alias sha3 to minimize confusion with SHA-3 standard ethereum/EIPs#59
- https://github.com/emn178/js-sha3
- http://emn178.github.io/online-tools/keccak_256.html
- http://emn178.github.io/online-tools/sha3_256.html
Metadata
Metadata
Assignees
Labels
No labels