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 details)

Uploaded Source

File details

Details for the file pyequihash-0.2.tar.gz.

File metadata

  • Download URL: pyequihash-0.2.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for pyequihash-0.2.tar.gz
Algorithm Hash digest
SHA256 cb5cff0fa7ef20bb20e208bd0bed33cd70da60c064597582414bc7394b746893
MD5 0eaa5c90afc4f5f944b5437217149e95
BLAKE2b-256 664b3a0502a4490d1a875240d30231613b8683f57e4d76ec763afdb005c554d4

See more details on using hashes here.

Supported by

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