siphash
siphash - python siphash implementation
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that already depends on it. The package is abandoned (last update 2013), offers no performance advantage over native implementations, and has unspecified Python version support. For new projects, use a maintained cryptographic library or a faster SipHash binding instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Pure Python implementation; performance is inherently limited compared to compiled alternatives.
- High install friction due to source distribution only.
- Package is abandoned—last release and commit were in 2013, with no maintenance for several years.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2013-01-22 (4952 days) · last repo commit 2017-02-23 · 46 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,511 downloads/mo, #14,823 on PyPI
Alternatives
Verify before relying
import siphash
key = '0123456789ABCDEF'
sip = siphash.SipHash_2_4(key, 'a')
print(sip.hexdigest()) # '864c339cb0dc0fac'- Whether this implementation remains cryptographically sound against modern attacks or has known weaknesses.
- Compatibility with Python versions beyond 3.2 (last tested version listed); modern Python support is unspecified.
- Whether the pure-Python performance characteristics meet actual application requirements.
What it is and what it does
Siphash is a keyed hash function designed for speed and security on short inputs, commonly used for network authentication and defense against hash-flooding denial-of-service attacks. This package provides a pure-Python implementation following the hashlib API, allowing you to create SipHash instances with a key, update them with data, and extract the hash as a numeric value, raw bytes, or hex string.
The package is unmaintained since 2013 and offers no performance advantages over native implementations in modern languages. It is suitable primarily for legacy code that depends on it or for educational exploration of the SipHash algorithm itself. Performance is inherently limited by the pure-Python approach.
Use it for
- Integrate SipHash hashing into legacy Python applications that already depend on this package.
- Educational study of the SipHash algorithm and its implementation in Python.
- Hash table operations where hash-flooding defense is needed in environments without access to faster native implementations.
- Network traffic authentication in low-throughput scenarios where pure-Python performance is acceptable.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that already depends on it.
The package is abandoned (last update 2013), offers no performance advantage over native implementations, and has unspecified Python version support. For new projects, use a maintained cryptographic library or a faster SipHash binding instead.
Install
siphash on PyPI
Before you install
High install friction due to source distribution only. Package is abandoned—last release and commit were in 2013, with no maintenance for several years. Suitable only for legacy integration or educational purposes.
Pure Python implementation; performance is inherently limited compared to compiled alternatives.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
import siphash
key = '0123456789ABCDEF'
sip = siphash.SipHash_2_4(key, 'a')
print(sip.hexdigest()) # '864c339cb0dc0fac'
Verify before relying
- Whether this implementation remains cryptographically sound against modern attacks or has known weaknesses.
- Compatibility with Python versions beyond 3.2 (last tested version listed); modern Python support is unspecified.
- Whether the pure-Python performance characteristics meet actual application requirements.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,952 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,511 / month, #14,823 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.2Topic :: Software Development :: Libraries :: Python Modules |
Evidence: siphash-0.0.1.tar.gz
Tags
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 › “siphash hash function”
- siphashProvides a Python implementation of SipHash, a keyed hash function…
- siphash24Provides a C-based SipHash-1-3 and SipHash-2-4 implementation with a…
- siphashcsiphashc provides a Python binding to the SipHash-2-4 cryptographic…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also siphash24 · siphashc · xxhash · spookyhash · murmurhash · dirhash · pysha3 · safe-pysha3 · py-multihash · clickhouse-cityhash