File: README.md

package info (click to toggle)
pyequihash 0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 128 kB
  • sloc: python: 44; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (4)
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+