{"id":13839756,"url":"https://github.com/kmyk/libproofofwork","last_synced_at":"2026-01-14T07:14:10.145Z","repository":{"id":57455086,"uuid":"85094481","full_name":"kmyk/libproofofwork","owner":"kmyk","description":"Simple hash-mining c library and its python binding.","archived":true,"fork":false,"pushed_at":"2019-06-28T12:28:39.000Z","size":60,"stargazers_count":64,"open_issues_count":6,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-31T03:53:02.227Z","etag":null,"topics":["hash","md5","python-bindings","sha1"],"latest_commit_sha":null,"homepage":null,"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/kmyk.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}},"created_at":"2017-03-15T16:14:04.000Z","updated_at":"2025-02-23T07:09:11.000Z","dependencies_parsed_at":"2022-09-04T10:42:26.806Z","dependency_job_id":null,"html_url":"https://github.com/kmyk/libproofofwork","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kmyk/libproofofwork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmyk%2Flibproofofwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmyk%2Flibproofofwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmyk%2Flibproofofwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmyk%2Flibproofofwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmyk","download_url":"https://codeload.github.com/kmyk/libproofofwork/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmyk%2Flibproofofwork/sbom","scorecard":{"id":564234,"data":{"date":"2025-08-11","repo":{"name":"github.com/kmyk/libproofofwork","commit":"5a920da4ad0a9942aa02dc9fa4552fc731d22c2c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T14:31:20.766Z","repository_id":57455086,"created_at":"2025-08-20T14:31:20.766Z","updated_at":"2025-08-20T14:31:20.766Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hash","md5","python-bindings","sha1"],"created_at":"2024-08-04T17:00:34.510Z","updated_at":"2026-01-14T07:14:10.124Z","avatar_url":"https://github.com/kmyk.png","language":"C","funding_links":[],"categories":["C","C (286)"],"sub_categories":[],"readme":"# libProofOfWork\n\n[![Travis](https://img.shields.io/travis/kmyk/libproofofwork.svg)](https://travis-ci.org/kmyk/libproofofwork)\n![PyPI](https://img.shields.io/pypi/l/proofofwork.svg)\n![PyPI](https://img.shields.io/pypi/pyversions/proofofwork.svg)\n![PyPI](https://img.shields.io/pypi/status/proofofwork.svg)\n[![PyPI](https://img.shields.io/pypi/v/proofofwork.svg)](https://pypi.python.org/pypi/proofofwork)\n\nSimple hash-mining c library and its python binding.\n\n## Requirements\n\n-   `cmake` and things to build\n-   non-old CPU for AVX2 instructions\n    -   Check `flags` sections of your `/proc/cpuinfo`.\n-   OpenMP (optional)\n\n## How to Install\n\n``` sh\n$ pip install proofofwork\n```\n\n## How to Use\n\n``` python\n\u003e\u003e\u003e import proofofwork\n\u003e\u003e\u003e import hashlib\n\n\u003e\u003e\u003e s = proofofwork.md5('00000000')\n\u003e\u003e\u003e s\nb'erno8AAA'\n\u003e\u003e\u003e hashlib.md5(s).hexdigest()\n'0000000057c4ca67d38e6826053824bd'\n\n\u003e\u003e\u003e s = proofofwork.sha1('000??????????????????????????????????000', text=b'sha1{????????}', alphabet=bytes(range(128, 256)))\n\u003e\u003e\u003e s\nb'sha1{\\xcb\\xf0\\xa4\\x80\\x80\\x80\\x80\\xe0}'\n\u003e\u003e\u003e hashlib.sha1(s).hexdigest()\n'00099d6917591c54f861032fd0d0071fbc647000'\n```\n\n## Benchmark\n\n### MD5\n\nIn my laptop environment (`Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz`),\n\n| Code           | Speed [hashes/sec] |\n| -------------- | ------------------:|\n| libproofofwork |          158000000 |\n| C openssl      |            5890000 |\n| python hashlib |             794000 |\n\n### SHA1\n\nIn my laptop environment (`Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz`),\n\n| Code           | Speed [hases/sec] |\n| -------------- | -----------------:|\n| libproofofwork |          83700000 |\n| C openssl      |           6360000 |\n| python hashlib |            815000 |\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmyk%2Flibproofofwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmyk%2Flibproofofwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmyk%2Flibproofofwork/lists"}