Metadata-Version: 2.1
Name: sha256
Version: 0.3
Summary: sha256 library with midstate
Home-page: UNKNOWN
Author: Mark Peek
Author-email: mark@peek.org
License: MIT
Project-URL: Source, https://github.com/cloudtools/sha256
Project-URL: Tracker, https://github.com/cloudtools/sha256/issues
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/x-rst

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::

    python setup.py sdist

Authors
=======
The original author was Thomas Dixon for a python version of this code.
Sam Rushing added the midstate access and converted it to Cython_.
Nigel Drego added the context state setter/getter.

LICENSE
=======
This is licensed under the `MIT license`_ based on the original
license from Thomas Dixon.

.. _Cython: http://cython.org
.. _`MIT license`: http://opensource.org/licenses/MIT


