Rust optimization to run SHA256 over Numpy arrays.
pip install shaloop
Activate a new virtual env, install Maturin and a Rust toolchain. Run:
maturin develop --release -b cffi
The Python package is now installed. Note: clean your PYTHONPATH to remove the package if necessary.
python test/test_shaloop.py
python test/test_shaloop_512.py
If you have the old C version of Shaloop installed, you can run a benchmark with:
python test/benchmark.py
docker run --rm -v $(pwd):/io konstin2/maturin publish -b cffi --manylinux 2010 -u __token__ -p pypi-your-token