# 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+
Raw data
{
"_id": null,
"home_page": "https://github.com/stef/equihash/python",
"name": "pyequihash",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Stefan Marsiske",
"author_email": "sphinx@ctrlc.hu",
"download_url": "https://files.pythonhosted.org/packages/66/4b/3a0502a4490d1a875240d30231613b8683f57e4d76ec763afdb005c554d4/pyequihash-0.2.tar.gz",
"platform": null,
"description": "# pyequihash\n\nThis is the python bindings for libequihash.\n\n## installation\n\nyou'll need https://github.com/stef/equihash/\nwhich depends on libsodium.\na simple `pip install pyequihash` should suffice to install the bindings.\n\n## usage\n\n```python\nimport equihash\n\n# input parameters\nn=102\nk=5\nseed=\"some initial seed\"\n# try to solve the challenge\nsol = equihash.solve(n, k, seed)\n# verify the solution\nprint(equihash.verify(n,k,seed,sol))\n```\n\n## License\n\nGPLv3.0+\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "python bindings for libequihash",
"version": "0.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "664b3a0502a4490d1a875240d30231613b8683f57e4d76ec763afdb005c554d4",
"md5": "0eaa5c90afc4f5f944b5437217149e95",
"sha256": "cb5cff0fa7ef20bb20e208bd0bed33cd70da60c064597582414bc7394b746893"
},
"downloads": -1,
"filename": "pyequihash-0.2.tar.gz",
"has_sig": true,
"md5_digest": "0eaa5c90afc4f5f944b5437217149e95",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14587,
"upload_time": "2023-01-08T13:41:28",
"upload_time_iso_8601": "2023-01-08T13:41:28.508956Z",
"url": "https://files.pythonhosted.org/packages/66/4b/3a0502a4490d1a875240d30231613b8683f57e4d76ec763afdb005c554d4/pyequihash-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-08 13:41:28",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "pyequihash"
}