$npx skillfedfor your agent

eth-hash

eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3

With conditionsPyPI CryptographyReleased Mar 20266.8M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — eth_hash-0.8.0-py3-none-any.whl
v0.8.0 · released 2026-03-25 · Python <4,>=3.10

Yes, if you are building Ethereum protocol-level tools or libraries that need keccak256 and want a lightweight, actively maintained wrapper. No, if you are writing application code—use higher-level alternatives instead. The package has no known vulnerabilities, low install friction, and permissive licensing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; you must install a backend extra for the hashing implementation to work.
  • Low install friction; pure Python wheel with no compiled dependencies.
  • Actively maintained with recent releases and a stable repository.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive); you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-03-25 (142 days) · last repo commit 2026-03-25 · 110 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,844,184 downloads/mo, #1,836 on PyPI

Verify before relying

pip install eth-hash[pycryptodome]

from eth_hash.auto import keccak
result = keccak(b'')
  • Whether the auto backend selection handles all deployment environments gracefully or requires explicit backend configuration in some cases.
  • Performance characteristics compared to alternative keccak implementations.
  • Which specific backends are available and their relative performance trade-offs.
Same gist for agents: .md · .json

What it is and what it does

eth-hash is a low-level wrapper around the keccak256 hashing algorithm, the cryptographic hash function used throughout the Ethereum protocol. It abstracts over multiple backend implementations, allowing you to choose which one to use based on your environment and needs. The package is designed as an internal dependency for other Ethereum tools rather than as a user-facing library—the documentation suggests using higher-level alternatives for application code.

The package has no runtime dependencies by default; you install it with an extra to specify which cryptographic backend to use. It supports Python 3.10 through 3.14 and is actively maintained with recent releases. The API is minimal: import from eth_hash.auto and call it with bytes to get the hash.

Use it for

  • Computing Ethereum address checksums and transaction hashes within wallet or node software.
  • Verifying Ethereum smart contract bytecode and state root hashes in light clients or validators.
  • Building low-level Ethereum protocol tools that need direct access to keccak256 without higher-level abstractions.
  • Integrating keccak hashing into cryptographic libraries or frameworks that wrap Ethereum functionality.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building Ethereum protocol-level tools or libraries that need keccak256 and want a lightweight, actively maintained wrapper.

No, if you are writing application code—use higher-level alternatives instead. The package has no known vulnerabilities, low install friction, and permissive licensing.

Install

eth-hash on PyPI

Before you install

Low install friction; pure Python wheel with no compiled dependencies. Actively maintained with recent releases and a stable repository.

Requires Python 3.10 or later; you must install a backend extra for the hashing implementation to work.

License in practice

MIT license (permissive); you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install eth-hash[pycryptodome]

from eth_hash.auto import keccak
result = keccak(b'')

Verify before relying

  • Whether the auto backend selection handles all deployment environments gracefully or requires explicit backend configuration in some cases.
  • Performance characteristics compared to alternative keccak implementations.
  • Which specific backends are available and their relative performance trade-offs.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 142 days since the last release
Last repo commit
First released
Downloads6,844,184 / month, #1,836 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: eth_hash-0.8.0-py3-none-any.whl

Tags

Capabilities
ethereum keccak256 hashingkeccak hash functionethereum hashing librarysha3 ethereumcryptographic hash ethereumkeccak256 python
Topics
ethereumcryptographylow-level
PyPI keywords
ethereum

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ethereum keccak256 hashing”

  • eth-hashProvides the keccak256 hashing function used by Ethereum through a…
  • eip712Provides Python message classes for EIP-712 typed structured data…
  • poly-eip712-structsConstructs and serializes EIP-712 structured data for Ethereum…

Give your agent the search over MCP, or paste the wish link into any chat.

More Cryptography packages

certifi Worth it
PyPI · Cryptography · released Jul 2026

Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.

MPL-2.0pure Python · 3.7+
1.9Bdownloads / mo
cryptography Worth it
PyPI · Cryptography · released Jul 2026

cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.

Apache-2.0 OR BSD-3-Clausecompiled wheel
1.5Bdownloads / mo
rsa Skip
PyPI · Cryptography · released Apr 2025

Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.

Apache-2.0pure Pythonabandoned
299.6Mdownloads / mo
pyOpenSSL With conditions
PyPI · Python Modules · released Aug 2026

pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.

Apache-2.0pure Python · 3.9+
294.2Mdownloads / mo
azure-identity Worth it
PyPI · Cryptography · released Mar 2026

Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.

license unclearpure Python · 3.9+
247.2Mdownloads / mo
PyNaCl Worth it
PyPI · Cryptography · released Jan 2026

PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.

Apache-2.0compiled wheel · 3.8+
246.6Mdownloads / mo

See also pysha3 · safe-pysha3 · faster-eth-utils · eth-keys · eth-typing · py-multihash · eip712 · dict-hash · eth-account · siphash