Hashes hash-wasm hash

Keccak256 Hash Generator

Generate Ethereum-compatible Keccak-256 hashes for blockchain and smart contracts.

keccak-256.workspace
1 option
0 bytes UTF-8, Hex, Base64, or File input
Options

Secure client-side computation. No data leaves your browser. Privacy Security

Result Output

What Is Keccak-256?

Keccak-256 is the Ethereum blockchain's hash function, differing from SHA3-256 only in padding, producing a 256-bit hash using the original Keccak submission (capacity 512, rate 1088).

Specifications

Output Size 256 bits
Standard Keccak submission to NIST SHA-3 competition
Standard Year 2008

Use Cases

  • Ethereum address and transaction hashing
  • Smart contract development
  • Blockchain and DApp applications
!

Security Notice

Keccak-256 is suitable for cryptographic integrity checks and fingerprints when used appropriately. Use HMAC or KMAC when you need message authentication, and use a dedicated KDF such as Argon2, bcrypt, or scrypt for password storage.

Implementation Notes

Practical usage details for this browser-based Keccak-256 tool.

How to Generate a Keccak-256 hash

  1. Choose UTF-8, Hex, Base64, or File input mode.
  2. Enter text, encoded bytes, or choose a local file to process.
  3. Adjust the Keccak-256 options if your use case requires non-default settings.
  4. Click Generate Keccak-256 Hash and copy the result.

Example Input and Output

Sample input:

abc

Sample output:

4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45

When Not to Use Keccak-256

  • Do not use a plain hash or derivation output directly as password storage without the right password-hashing construction and parameters.

Recommended Alternatives

Review related tools when you need a different output size, security margin, or keyed construction.

Keccak-256 Test Vectors

Input: empty string

c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470

Input: abc

4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45

Command Line Alternatives

cast keccak "abc"
node -e "console.log(require('ethers').keccak256(Buffer.from('abc')))"

File Verification Scenario

Keccak-256 is mainly used for Ethereum-style byte hashing, smart contract workflows, and compatibility with pre-standard SHA-3 systems.

Security Guidance

Keccak-256 is not the same output as SHA3-256. Confirm the expected padding and input encoding before comparing values.

Frequently Asked Questions