{"id":42599026,"url":"https://github.com/nspcc-dev/tzhash","last_synced_at":"2026-02-20T16:03:44.091Z","repository":{"id":34178529,"uuid":"163511548","full_name":"nspcc-dev/tzhash","owner":"nspcc-dev","description":"Tillich-Zemor hashing golang implementation","archived":false,"fork":false,"pushed_at":"2025-12-08T15:52:15.000Z","size":176,"stargazers_count":11,"open_issues_count":2,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-29T13:44:31.841Z","etag":null,"topics":["golang","hash"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nspcc-dev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-12-29T13:03:32.000Z","updated_at":"2025-09-08T13:35:47.000Z","dependencies_parsed_at":"2022-07-24T18:02:08.025Z","dependency_job_id":"3460daa8-9628-41ee-a35f-5dcbcac267cb","html_url":"https://github.com/nspcc-dev/tzhash","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/nspcc-dev/tzhash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Ftzhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Ftzhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Ftzhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Ftzhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nspcc-dev","download_url":"https://codeload.github.com/nspcc-dev/tzhash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nspcc-dev%2Ftzhash/sbom","scorecard":{"id":697359,"data":{"date":"2025-08-11","repo":{"name":"github.com/nspcc-dev/tzhash","commit":"466ec70aaae26b29726f4a5e026eb90b1bbec92a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dco.yml:1","Warn: no topLevel permission defined: .github/workflows/run_tests.yml:1","Info: no jobLevel write permissions found"],"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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: Apache License 2.0: 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/dco.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/dco.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/run_tests.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/run_tests.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:117: update your workflow using https://app.stepsecurity.io/secureworkflow/nspcc-dev/tzhash/run_tests.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:31: pin your Docker image by updating alpine:3.11 to alpine:3.11@sha256:bcae378eacedab83da66079d9366c8f5df542d7ed9ab23bf487e3e1a8481375d","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"SAST","score":8,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 18 commits out of 30 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-22T04:07:29.693Z","repository_id":34178529,"created_at":"2025-08-22T04:07:29.693Z","updated_at":"2025-08-22T04:07:29.693Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["golang","hash"],"created_at":"2026-01-29T00:16:26.084Z","updated_at":"2026-02-20T16:03:44.074Z","avatar_url":"https://github.com/nspcc-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/nspcc-dev/tzhash/branch/master/graph/badge.svg)](https://codecov.io/gh/nspcc-dev/tzhash)\n[![Report](https://goreportcard.com/badge/github.com/nspcc-dev/tzhash)](https://goreportcard.com/report/github.com/nspcc-dev/tzhash)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nspcc-dev/tzhash?sort=semver)\n![License](https://img.shields.io/github/license/nspcc-dev/tzhash.svg?style=popout)\n\n# Demo\n\n[![asciicast](https://asciinema.org/a/IArEDLTrQyabI3agSSpINoqNu.svg)](https://asciinema.org/a/IArEDLTrQyabI3agSSpINoqNu)\n\n**In project root:**\n\n```bash\n# show help\nmake\n# run auto demo\nmake auto\n```\n\n# Homomorphic hashing in golang\n\nPackage `tz` containts pure-Go implementation of hashing function described by Tillich and Źemor in [1] .\n\nThere are existing implementations already (e.g. [2]), however they are written in C.\n\nPackage `gf127` contains arithmetic in `GF(2^127)` with `x^127+x^63+1` as reduction polynomial.\n\n# Description\n\nIt can be used instead of Merkle-tree for data-validation, because homomorphic hashes\nare concatenable: hash sum of data can be calculated based on hashes of chunks.\n\nThe example of how it works can be seen in tests.\n\n# Benchmarks\n\n## go vs AVX vs AVX2 version\n\n```\nBenchmarkSum/AVX_digest-8             308       3889484 ns/op          25.71 MB/s         5 allocs/op\nBenchmarkSum/AVXInline_digest-8       457       2455437 ns/op          40.73 MB/s         5 allocs/op\nBenchmarkSum/AVX2_digest-8            399       3031102 ns/op          32.99 MB/s         3 allocs/op\nBenchmarkSum/AVX2Inline_digest-8      602       2077719 ns/op          48.13 MB/s         3 allocs/op\nBenchmarkSum/PureGo_digest-8           68       17795480 ns/op          5.62 MB/s         5 allocs/op\n```\n\n# Contributing\n\nAt this moment, we do not accept contributions. Follow us.\n\n# Makefile\n\n```\n→ make\n  Usage:\n\n    make \u003ctarget\u003e\n\n  Targets:\n\n    attach   Attach to existing container\n    auto     Auto Tillich-Zémor hasher demo\n    down     Stop demo container\n    help     Show this help prompt\n    up       Run Tillich-Zémor hasher demo\n```\n\n# Links\n\n[1] https://link.springer.com/content/pdf/10.1007/3-540-48658-5_5.pdf\n\n[2] https://github.com/srijs/hwsl2-core","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspcc-dev%2Ftzhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnspcc-dev%2Ftzhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnspcc-dev%2Ftzhash/lists"}