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.1.tar.gz (2.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyequihash-0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyequihash-0.1.tar.gz
Algorithm Hash digest
SHA256 038678a7d9281cb41e066b4e2c725e1a7aaa54f3ebee8836f123b7f092101dfa
MD5 c4d907b0dfb03e520c5b751ec6dff4e3
BLAKE2b-256 c7a3281476cbdd33e206edb14c8f8015e514272dcf2635d90ff83b64863d39a0

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