web3-developer-tools100% Client-Side LocalKeccak-256

Solidity Keccak-256 Hash Generator

Hash strings and Solidity ABI function signatures into Keccak-256 hashes and 4-byte function selectors directly in your browser.

How to Use

1

Choose between Solidity Text / UTF-8 mode and Raw Hex Bytes mode.

2

Enter a function signature (e.g., transfer(address,uint256)) or arbitrary text.

3

Enable "Canonicalize Types" to convert uint to uint256 and strip parameter names according to ABI specifications.

4

Copy the 4-byte selector (e.g. 0xa9059cbb) or the full 32-byte 256-bit hash with one click.

Why Use Solidity Keccak-256 Hash Generator?

Authentic Ethereum Keccak

Implements the original 0x01 padding specification used by EVM compilers and contracts.

Instant 4-Byte Selectors

Extracts the exact 8 hex characters needed for transaction calldata and ERC-165 interfaces.

ABI Canonicalization

Normalizes common Solidity shorthand types (uint -> uint256) automatically.

Zero Leakage

Hashes proprietary signatures, salt preimages, and secret strings completely offline.

About This Tool

The Solidity Keccak-256 Generator computes standard Ethereum cryptographic hashes and 4-byte smart contract function selectors directly in your browser. It implements the authentic Ethereum Keccak-256 permutation (with 0x01 domain padding) rather than the standard NIST SHA3-256 standard, ensuring 100% EVM compatibility.

Tags:#keccak256#Keccak-256 hash generator#Solidity Keccak#Keccak hash calculator#function selector calculator#Ethereum function selector#Solidity function selector#4 byte selector#EVM function selector

Frequently Asked Questions

Ethereum selected Keccak before NIST finalized the SHA-3 standard in FIPS 202. The NIST standard modified the internal padding byte from 0x01 to 0x06. Because Ethereum retained the original Keccak sponge construction, standard NIST SHA3-256 calculators will produce completely different hashes.

Related Tools

Similar utilities & calculators