Skip to main content

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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serp-hashlib 0.1.0
File Size Uploaded
serp_hashlib-0.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for serp-hashlib 0.1.0
File Interpreter ABI Platform
serp_hashlib-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / serp_hashlib-0.1.0.tar.gz

Download URL serp_hashlib-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5008e2ac0df5c1a31ba527baaae302a43bd9673fb4e5cbb0a07e56ffa16f8f5c
BLAKE2b-256 checksum
How to use checksums
67fb190cf4b11bda1abb92b017c4933e4cc24414d59e3c0b8d6db4e8933ee754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / serp_hashlib-0.1.0-py3-none-any.whl

Download URL serp_hashlib-0.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
506b11f88f9e792eca82d87e91dbb9e8f63de441c02146f52a449f13fce05f6a
BLAKE2b-256 checksum
How to use checksums
217b898c5b44ac336fc860a55ed29dd7d9fe550aef87310ad4c2279159d4f05c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page