{"id":26825094,"url":"https://github.com/chancehudson/lattice-commitments","last_synced_at":"2025-04-28T14:05:44.837Z","repository":{"id":250642534,"uuid":"835035977","full_name":"chancehudson/lattice-commitments","owner":"chancehudson","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-07T12:13:18.000Z","size":94,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-28T14:05:39.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chancehudson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-29T03:06:35.000Z","updated_at":"2024-12-28T14:08:24.000Z","dependencies_parsed_at":"2024-07-29T04:30:08.849Z","dependency_job_id":"fc57aa0a-115a-4bce-a650-a544921d3321","html_url":"https://github.com/chancehudson/lattice-commitments","commit_stats":null,"previous_names":["chancehudson/lattice-commitments"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Flattice-commitments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Flattice-commitments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Flattice-commitments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chancehudson%2Flattice-commitments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chancehudson","download_url":"https://codeload.github.com/chancehudson/lattice-commitments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251326836,"owners_count":21571634,"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":[],"created_at":"2025-03-30T10:19:12.007Z","updated_at":"2025-04-28T14:05:44.813Z","avatar_url":"https://github.com/chancehudson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lattice-commitments [![Build](https://img.shields.io/circleci/build/github/chancehudson/lattice-commitments/main)](https://dl.circleci.com/status-badge/redirect/gh/chancehudson/lattice-commitments/tree/main) [![Docs](https://img.shields.io/docsrs/lattice-commitments)](https://docs.rs/lattice-commitments) [![Version](https://img.shields.io/crates/v/lattice-commitments)](https://crates.io/crates/lattice-commitments)\n\nStructured lattice commitments based on [Baum et al.](https://eprint.iacr.org/2016/997.pdf)\n\n## Usage\n\nClone the repo and run `cargo run`.\n\nChange the configuration variables in [`main.rs`](./src/main.rs#L19) to adjust the base field and polynomial ring degree.\n\n## Example output\n\n```\nBase field cardinality: 2013265921 (baby bear 32 bit)\nPolynomial ring: ℤ[X]/\u003cX^1024 + 1\u003e\n\nCommitting to 1 polynomials, each containing 1024 coefficients:\n1124335506,149818619,1601233164,205230700,1475683794,659969253,282573766,1962836835,893421200,512127742,185294682,780911461,82017087,1974806903,1904974401,1567299238,333737732,433543762,1300045461,1587965164,52563316,254413285,194076911,358654244,178023259...\n\nOpening commitment with secret vector (3 polynomials):\n0,0,0,1,1,1,0,1,1,0,1,0,0,1,0,0,0,1,1,0,1,0,1,0,0,1,0,1,0,0,0,1,1,1,0,1,0,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,1,0,1,0,0,1,1,1,1,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1,0,1,1,0,1,0,0,0,1,0,1,0,1,1,0,1,1,0,1,0,1,0,0,1,0,1,1,1,0,1,1,1,0,0,1,0,1,1,1,0,1,...\n\nCommitment opening is valid!\n\nCommitment size: 8192 bytes\nPublic parameters size: 24576 bytes\nSecret size: 3 bytes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchancehudson%2Flattice-commitments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchancehudson%2Flattice-commitments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchancehudson%2Flattice-commitments/lists"}