{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"}],"enrichment":{"capability":"Provides a C-based SipHash-1-3 and SipHash-2-4 implementation with a hashlib-compatible interface and streaming support, returning digests as bytes or 64-bit signed integers.","skillfed_tags":["hashing","cryptography","streaming"],"use_cases":["Hash table implementations or data structures that require a fast, non-cryptographic hash function resistant to hash collision attacks.","Incremental hashing of large files or network streams where you cannot load the entire input into memory at once.","Cryptographic applications that specifically require SipHash-2-4 or SipHash-1-3 variants for compatibility or security requirements.","Scenarios where you need both byte and integer representations of hash values without manual conversion.","Projects that want a hashlib-compatible API but need the specific properties of SipHash rather than MD5 or SHA."],"what_it_does":"siphash24 is a Python wrapper around a C implementation of the SipHash cryptographic hash function, offering both SipHash-1-3 and SipHash-2-4 variants. It exposes an interface compatible with Python's standard hashlib module, so you can use it like any other hash function\u2014calling update() to feed data and digest() to retrieve the result. The package extends hashlib's interface with an intdigest() method that returns the hash as a 64-bit signed integer instead of bytes, which is the conventional representation for SipHash values.\n\nThe implementation is streaming-capable, meaning you can hash large amounts of data incrementally rather than loading it all into memory at once. It ships as precompiled binary wheels for Python 3.7\u20133.14 on macOS, Linux, and Windows, eliminating the need to compile C code on most systems. The underlying C code is based on the c-siphash library and ultimately derives from the SipHash reference implementation, so it is well-established and widely reviewed.","worth_installing":"Yes, if you specifically need SipHash and want a hashlib-compatible interface with streaming support. The package is stable, well-maintained enough for production use, has no known vulnerabilities, and provides convenient precompiled wheels. However, the aging maintenance status (346 days since last release) and unclear license metadata warrant a quick review of your licensing requirements before committing. If you only need a general-purpose hash function, Python's built-in hashlib is a simpler choice."},"id":"siphash24","links":{"html":"https://skillfed.io/packages/siphash24","md":"https://skillfed.io/packages/siphash24.md","pypi":"https://pypi.org/project/siphash24/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-02","license_spdx":"Apache-2.0 OR LGPL-2.1-or-later","license_treatment":"unclear","name":"siphash24","python_support":"supports_current","summary":"Streaming-capable SipHash-1-3 and SipHash-2-4 Implementation"},"popularity":{"monthly_downloads":510712,"position":6265,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8"}
