serp-hashlib
Drop-in replacement for CPython's hashlib object API (sha256/sha1/md5).
Native builds use self-contained SHA-256 / SHA-1 / MD5 implementations in the
runtime (no crates); under CPython the serp_hashlib_core delegate uses stdlib
hashlib. Digests are bit-identical across both worlds.
API
sha256(data=None)/sha1(data=None)/md5(data=None)— take optional initial bytes, return a hash object.- Hash objects support
.update(data),.hexdigest(),.digest(),.copy().
Divergences: update() re-hashes the accumulated buffer (O(n) memory); no
name/digest_size attributes, no new(), sha512/blake2 deferred.
Install
serp add serp-hashlib
pip install serp-hashlib
Metadata
Release files for serp-hashlib 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serp_hashlib-0.2.0.tar.gz | 3.5 kB | Without provenance | Details for serp_hashlib-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serp_hashlib-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for serp_hashlib-0.2.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / serp_hashlib-0.2.0.tar.gz
| Download URL | serp_hashlib-0.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffca5e7a66d7e558922275b357e124560b3d3e68ec6ab5acc8b85a101d0c91e2
|
|
BLAKE2b-256 checksum How to use checksums |
188a98ba7e81c290220da5c9cffc50d7ee5caf9b1e683b07354ed4f9055018e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / serp_hashlib-0.2.0-py3-none-any.whl
| Download URL | serp_hashlib-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f58432a24eec6f272459c1898360c960d7dbc0ef3f2f94402fcbc637571ac05c
|
|
BLAKE2b-256 checksum How to use checksums |
6deebeb841b5504280e56bed0293c9df7cf9b14b16d07ec75c66b62d3bcbe29c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for serp-hashlib 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.