File: test.py

package info (click to toggle)
libequihash 1.0.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: cpp: 391; ansic: 235; sh: 75; makefile: 56; python: 44
file content (9 lines) | stat: -rw-r--r-- 147 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env python3

import equihash

n=102
k=5
seed=b"some initial seed"
sol = equihash.solve(n, k, seed)
print(equihash.verify(n,k,seed,sol))