{"id":19123166,"url":"https://github.com/digitalbazaar/equihash","last_synced_at":"2025-05-05T18:33:34.897Z","repository":{"id":66015240,"uuid":"96345691","full_name":"digitalbazaar/equihash","owner":"digitalbazaar","description":"Equihash Proof of Work for Node.js","archived":false,"fork":false,"pushed_at":"2017-10-03T21:26:22.000Z","size":112,"stargazers_count":10,"open_issues_count":4,"forks_count":5,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-19T11:08:37.641Z","etag":null,"topics":["cryptocurrency","cryptography","equihash","proof-of-work"],"latest_commit_sha":null,"homepage":"https://www.internetsociety.org/sites/default/files/blogs-media/equihash-asymmetric-proof-of-work-based-generalized-birthday-problem.pdf","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digitalbazaar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-05T17:43:10.000Z","updated_at":"2024-11-18T20:19:38.000Z","dependencies_parsed_at":"2023-03-10T23:28:30.463Z","dependency_job_id":null,"html_url":"https://github.com/digitalbazaar/equihash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fequihash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fequihash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fequihash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fequihash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalbazaar","download_url":"https://codeload.github.com/digitalbazaar/equihash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252553095,"owners_count":21766827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptocurrency","cryptography","equihash","proof-of-work"],"created_at":"2024-11-09T05:24:36.386Z","updated_at":"2025-05-05T18:33:34.849Z","avatar_url":"https://github.com/digitalbazaar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Equihash Proof of Work for Node\n\n[![Build Status](https://ci.digitalbazaar.com/buildStatus/icon?job=equihash)](https://ci.digitalbazaar.com/job/equihash)\n\nEquihash is a tunable asymmetric proof of work algorithm where it is difficult\nto generate a proof, but easy to verify one. The algorithm makes it difficult\nto build custom hardware to generate the proof by ensuring forced CPU and\nmemory trade offs. The algorithm is useful for cryptocurrency mining as\nwell as building solutions that require a proof of work capability.\n\n## Installation\n\n```\nnpm install equihash\n```\n\n## The Equihash API\n- solve(input, options, callback(err, proof))\n- verify(input, proof)\n\n## Usage Example\n```javascript\nconst equihash = require('equihash')('khovratovich');\n\n// input seed for equihash (up to 512 bits)\nconst input = crypto.createHash('sha256').update('test1234', 'utf8').digest();\nconst options = {\n  n: 90,\n  k: 5\n}\n\nequihash.solve(input, options, (err, proof) =\u003e {\n  if(err) {\n    return console.log('Failed to generate proof:', err);\n  }\n\n  console.log('Equihash proof:', proof)\n  console.log('Valid proof? ', equihash.verify(input, proof));\n});\n```\n\n## Test Suite\n\n```\nnpm install\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalbazaar%2Fequihash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalbazaar%2Fequihash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalbazaar%2Fequihash/lists"}