This is a SHA-256 implementation that allows for setting and getting the mid-state information. This was needed to enable repeated hashing against a (potentially large) fixed prefix.
Performance
The original version of this was written in Python. While the Cython version will be much faster, this is not a highly optimized library and relies on the native C compiler for optimization.
Cythonize
This repository does not contain the generated C code from Cython. To recreate the C code run the cytnonize step via:
python3 -m pip install --upgrade build python3 -m build
LICENSE
This is licensed under the MIT license based on the original license from Thomas Dixon.
Metadata
Release files for sha256 1.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 | |
|---|---|---|---|---|
| sha256-1.0.tar.gz | 83.8 kB | Without provenance | Details |
Release files / sha256-1.0.tar.gz
| Download URL | sha256-1.0.tar.gz |
|---|---|
| Size | 83.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a3921b815c6c99e7fe3692d8b88fd44f8688d5b923b9f9fc60d93b645ce471a
|
|
BLAKE2b-256 checksum How to use checksums |
40303ee564cf8e7fd089b06d8d0622a651f72ec4963391956e0f5ce4beba8272
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for sha256 1.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.