1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# 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
```python
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+
|