toolqik

38 · Hashing & Passwords

SHA-3 Hash Generator

SHA3-224/256/384/512 and Keccak-256 for text and files.

Runs in your browser
HashesClick a value to copy it

About this tool

SHA-3 is the newest member of the Secure Hash Algorithm family, standardised by NIST in 2015 (FIPS 202). It’s based on the Keccak “sponge” design, which is completely different from SHA-2, so it remains secure even if a future attack weakens SHA-256. This tool computes all four SHA-3 sizes and Ethereum’s Keccak-256 at once, for text or files of any size.

Everything is computed in your browser with WebAssembly or the Web Crypto API. Your passwords and files are never uploaded.

SHA-3 vs Keccak-256

Ethereum adopted Keccak before NIST finalised SHA-3, and NIST then changed the padding rule. So Ethereum’s “SHA3” (Solidity’s keccak256, used for addresses and function selectors) is Keccak-256, which gives different output from the standard SHA3-256. For the empty string:

SHA3-256:   a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a
Keccak-256: c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470

Which hash should I use?

  • SHA-256 remains the default for most uses, with hardware acceleration and support everywhere.
  • SHA3-256 for new designs that want a hash structurally independent of SHA-2, or where a standard requires SHA-3.
  • Keccak-256 only for Ethereum and EVM-compatible blockchains.
  • For passwords, none of these: use a slow password hash such as Argon2id.

SHA-3 on the command line

# Linux / macOS (OpenSSL 1.1.1 or later)
openssl dgst -sha3-256 file.iso
# Python
python3 -c "import hashlib,sys; print(hashlib.sha3_256(open(sys.argv[1],'rb').read()).hexdigest())" file.iso
# Node.js
node -e "console.log(require('crypto').createHash('sha3-256').update('hello').digest('hex'))"

FAQ

What is SHA-3?

The SHA-3 family (FIPS 202) of hash functions, built on the Keccak sponge construction. It comes in 224, 256, 384 and 512-bit sizes.

Is SHA-3 better than SHA-256?

Both are secure. SHA-3 uses a different design, which is valuable as a backup, while SHA-256 is faster on most hardware and more widely supported.

Why is Ethereum’s hash different from SHA3-256?

Ethereum uses the original Keccak submission, whose padding differs from the final SHA-3 standard. Choose Keccak-256 here to match Solidity’s keccak256.

Can I hash large files?

Yes. Files are read in 4 MB chunks, so large files work without loading them fully into memory.

esc
↑↓ navigate↵ open