SHA-3 & Keccak Hash Generator
SHA-3 & Keccak Hash Generator: Executes Keccak-256 sponge construction hashing and extracts the first 4 bytes as function selector.
About this sha-3 & keccak hash generator
Executes Keccak-256 sponge construction hashing and extracts the first 4 bytes as function selector Runs entirely in-memory using Web Crypto primitives to keep sensitive tokens, certificates, and cryptographic keys secure from third-party interception.
Encoding & cryptographic principles
Computes SHA3-256 for plain input. If the input contains both '(' and ')' or the secondary value requests keccak or eth, it instead computes Keccak-256 and displays the first four digest bytes as a selector. It does not validate a function signature or inspect a contract.
Worked verification example
Scenario: Calculate the Keccak-256 value and selector for one ABI-style function signature.
Sample input:
Processing: When the input contains parentheses, the handler uses Keccak-256 and returns the first four digest bytes as a selector.
Illustrative output:
Security parameters & input constraints
The page does not expose a separate algorithm selector: any input containing both parentheses switches to Keccak-256 automatically, even if it is not a function signature. The selector is the first four digest bytes, not an ABI validation. It hashes UTF-8 text, not uploaded files, and SHA3-256 and Keccak-256 have different padding.
Cryptographic digests, encoded strings, and signatures generated by SHA-3 & Keccak Hash Generator should be verified against target authentication systems before production use.
Client-side Web Crypto boundary
Key derivation, hashing, and encoding in SHA-3 & Keccak Hash Generator execute in local memory using Web Crypto APIs without remote socket transmission.
Cryptographic specifications & RFC standards
Technical specifications and cryptographic RFC standards governing algorithms and key representations:
- NIST FIPS 202 (SHA3-256 branch only)
- Keccak Team reference (Keccak-256 branch uses distinct padding)
SHA-3 & Keccak Hash Generator verification · Audit standards
How to use it
- Enter text in the input box.
- Run locally: plain text yields SHA3-256, while text containing both '(' and ')' triggers Keccak-256 and a four-byte selector.
- Read or copy the hexadecimal digest or the two-line Keccak result.
Frequently asked questions
When does this tool return SHA3-256 or Keccak-256?+
It returns SHA3-256 by default. If the second value contains `keccak` or `eth`, or the input contains both `(` and `)`, it returns `Keccak-256` plus an Ethereum-style four-byte function selector.
What local example can I run?+
Enter `abc` with an empty second value → `3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532`. Enter `balanceOf(address)` → selector `0x70a08231`.
Are SHA3 and Keccak interchangeable?+
No. They use different padding. Choose the exact variant expected by the protocol; an ABI-looking input automatically selects the Keccak result in this tool.
Does either digest encrypt or authenticate text?+
No. A digest neither encrypts, proves authorship, nor supplies a secret key or signature.
