python bindings for libequihash
Project description
pyequihash
This is the python bindings for libequihash.
installation
you'll need https://github.com/stef/equihash/
which depends on libsodium.
a simple pip install pyequihash
should suffice to install the bindings.
usage
import equihash
# input parameters
n=102
k=5
seed="some initial seed"
# try to solve the challenge
sol = equihash.solve(n, k, seed)
# verify the solution
print(equihash.verify(n,k,seed,sol))
License
GPLv3.0+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyequihash-0.2.tar.gz
(14.6 kB
view hashes)