$npx skillfedfor your agent

pysha3

SHA-3 (Keccak) for Python 2.7 - 3.5

SkipPyPI CryptographyReleased Feb 2017117.8K downloads / moPSFL (Keccak: CC0 1.0 Universal)Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — pysha3-1.0.2-cp27-cp27m-manylinux1_i686.whl · pysha3-1.0.2-cp27-cp27m-manylinux1_x86_64.whl · pysha3-1.0.2-cp27-cp27mu-manylinux1_i686.whl
v1.0.2 · released 2017-02-05

No. The package is abandoned (last release 05-Feb-2017, repository archived), carries two known vulnerabilities, and is obsolete for Python 3.6+. If you are on Python 2.7 or 3.4–3.5, you may have no alternative, but those Python versions are themselves end-of-life. Use built-in hashlib support on modern Python, or migrate away from unsupported Python versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C compiler and build tools to compile the extension.
  • Python 2.6 and earlier are not supported.
  • Medium install friction due to compiled C extension requiring a build toolchain.

License · maintenance · safety

PSFL (Keccak: CC0 1.0 Universal) (permissive) — Dual-licensed under PSFL and CC0 1.0 Universal (Keccak code). Both are permissive; the CC0 dedication places Keccak portions in the public domain. No restrictions on use or redistribution.

last release 2017-02-05 (3477 days) · last repo commit 2022-11-01 · 29 stars · archived

2 known vulnerabilities (OSV.dev, 2026-08-14) · 117,786 downloads/mo, #12,148 on PyPI

Verify before relying

import hashlib
import pysha3

s = hashlib.sha3_512()
s.update(b"data")
print(s.hexdigest())
  • Whether the two known vulnerabilities (GHSA-6w4m-2xhg-2658, PYSEC-2026-504) affect current deployments.
  • Current compatibility with Python versions beyond 3.5, given the package is abandoned.
  • Whether Python 3.6+ users should migrate to built-in hashlib support instead.
Same gist for agents: .md · .json

What it is and what it does

pysha3 is a wrapper around the optimized Keccak Code Package that brings SHA-3, SHAKE, and legacy Keccak hash algorithms to Python 2.7 and 3.4–3.5. It provides constructors (sha3_256, sha3_512, shake_128, shake_256, and keccak variants) with a PEP 247 compatible interface and automatically monkey-patches hashlib so you can call hashlib.sha3_512() directly.

The package is a backport of Python 3.6's native SHA-3 support. It implements the official NIST standard (delimiter 0x06) as of version 1.0, while also offering pre-finalization Keccak hashes (delimiter 0x01) under the keccak_ prefix. The C extension has been tested on Linux, Windows, and ARM platforms. However, the repository is archived and unmaintained since 2017.

Use it for

  • Compute SHA-3 hashes on Python 2.7 or 3.4–3.5 before native support was added.
  • Access SHAKE variable-length hash functions (shake_128, shake_256) on older Python versions.
  • Verify or generate Keccak hashes for systems that predate NIST's SHA-3 finalization.
  • Integrate SHA-3 hashing into legacy applications locked to Python 2.7 or early Python 3.

Worth the install?

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

Skip

No.

The package is abandoned (last release 05-Feb-2017, repository archived), carries two known vulnerabilities, and is obsolete for Python 3.6+. If you are on Python 2.7 or 3.4–3.5, you may have no alternative, but those Python versions are themselves end-of-life. Use built-in hashlib support on modern Python, or migrate away from unsupported Python versions.

Install

pysha3 on PyPI

Before you install

Medium install friction due to compiled C extension requiring a build toolchain. Repository is archived and abandoned; no active maintenance since last release on 05-Feb-2017.

Requires a C compiler and build tools to compile the extension. Python 2.6 and earlier are not supported.

License in practice

Dual-licensed under PSFL and CC0 1.0 Universal (Keccak code). Both are permissive; the CC0 dedication places Keccak portions in the public domain. No restrictions on use or redistribution.

Quickstart

import hashlib
import pysha3

s = hashlib.sha3_512()
s.update(b"data")
print(s.hexdigest())

Verify before relying

  • Whether the two known vulnerabilities (GHSA-6w4m-2xhg-2658, PYSEC-2026-504) affect current deployments.
  • Current compatibility with Python versions beyond 3.5, given the package is abandoned.
  • Whether Python 3.6+ users should migrate to built-in hashlib support instead.

Package facts

LicensePSFL (Keccak: CC0 1.0 Universal) permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,477 days since the last release
Last repo commit repository archived
First released
Downloads117,786 / month, #12,148 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilities2 GHSA-6w4m-2xhg-2658, PYSEC-2026-504
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: CC0 1.0 Universal (CC0 1.0) Public Domain DedicationLicense :: OSI Approved :: Python Software Foundation LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: BSDOperating System :: POSIX :: LinuxProgramming Language :: CProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Security :: Cryptography

Evidence: pysha3-1.0.2-cp27-cp27m-manylinux1_i686.whl; pysha3-1.0.2-cp27-cp27m-manylinux1_x86_64.whl; pysha3-1.0.2-cp27-cp27mu-manylinux1_i686.whl; pysha3-1.0.2-cp27-cp27mu-manylinux1_x86_64.whl; pysha3-1.0.2-cp27-cp27m-win32.whl; pysha3-1.0.2-cp27-cp27m-win_amd64.whl; pysha3-1.0.2-cp33-cp33m-win32.whl; pysha3-1.0.2-cp33-cp33m-win_amd64.whl; pysha3-1.0.2-cp34-cp34m-manylinux1_i686.whl; pysha3-1.0.2-cp34-cp34m-manylinux1_x86_64.whl; pysha3-1.0.2-cp34-cp34m-win32.whl; pysha3-1.0.2-cp34-cp34m-win_amd64.whl; pysha3-1.0.2-cp35-cp35m-manylinux1_i686.whl; pysha3-1.0.2-cp35-cp35m-manylinux1_x86_64.whl; pysha3-1.0.2-cp35-cp35m-win32.whl; pysha3-1.0.2-cp35-cp35m-win_amd64.whl; pysha3-1.0.2-cp36-cp36m-manylinux1_i686.whl; pysha3-1.0.2-cp36-cp36m-manylinux1_x86_64.whl; pysha3-1.0.2-cp36-cp36m-win32.whl; pysha3-1.0.2-cp36-cp36m-win_amd64.whl

Tags

Capabilities
sha3 hash pythonkeccak hashing libraryshake256 shake128cryptographic hash functionsnist sha-3 implementation
Topics
abandonedlegacy-pythoncryptographic-hash
PyPI keywords
sha3sha-3keccakhash

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 › “nist sha-3 implementation”

  • pysha3Provides SHA-3, SHAKE, and Keccak hash functions for Python 2.7…
  • safe-pysha3Provides SHA-3, SHAKE, and Keccak hash functions for Python 3.9–3.13…
  • ff3Implements NIST FF3 and FF3-1 format-preserving encryption (FPE)…

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 eth-hash · safe-pysha3 · py-multihash · siphash · dict-hash · siphash24 · mmh3 · dirhash · uhashring · blake3