Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page