{"id":13566180,"url":"https://github.com/arkworks-rs/crypto-primitives","last_synced_at":"2025-04-03T23:31:20.027Z","repository":{"id":43454658,"uuid":"304701408","full_name":"arkworks-rs/crypto-primitives","owner":"arkworks-rs","description":"Interfaces and implementations of cryptographic primitives, along with R1CS constraints for them ","archived":false,"fork":false,"pushed_at":"2025-03-20T15:23:53.000Z","size":373,"stargazers_count":204,"open_issues_count":48,"forks_count":102,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-01T14:17:39.937Z","etag":null,"topics":["cryptography","hash-functions","r1cs","rust","signatures","snark"],"latest_commit_sha":null,"homepage":"https://www.arkworks.rs","language":"Rust","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/arkworks-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-16T17:56:43.000Z","updated_at":"2025-03-27T10:59:30.000Z","dependencies_parsed_at":"2024-03-25T22:27:13.769Z","dependency_job_id":"48b2b140-6e1b-4ad0-96b5-2e113b5673d4","html_url":"https://github.com/arkworks-rs/crypto-primitives","commit_stats":{"total_commits":67,"total_committers":12,"mean_commits":5.583333333333333,"dds":0.6716417910447761,"last_synced_commit":"4b3bdac16443096b26426673bff409d4e78eec94"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkworks-rs%2Fcrypto-primitives","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkworks-rs%2Fcrypto-primitives/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkworks-rs%2Fcrypto-primitives/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arkworks-rs%2Fcrypto-primitives/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arkworks-rs","download_url":"https://codeload.github.com/arkworks-rs/crypto-primitives/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246651589,"owners_count":20811995,"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":["cryptography","hash-functions","r1cs","rust","signatures","snark"],"created_at":"2024-08-01T13:02:03.867Z","updated_at":"2025-04-03T23:31:15.561Z","avatar_url":"https://github.com/arkworks-rs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eark-crypto-primitives\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/arkworks-rs/crypto-primitives/actions/workflows/ci.yml/badge.svg\"\u003e\n    \u003ca href=\"https://github.com/arkworks-rs/crypto-primitives/blob/master/LICENSE-APACHE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-APACHE-blue.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/arkworks-rs/crypto-primitives/blob/master/LICENSE-MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://deps.rs/repo/github/arkworks-rs/crypto-primitives\"\u003e\u003cimg src=\"https://deps.rs/repo/github/arkworks-rs/crypto-primitives/status.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThe arkworks ecosystem consist of Rust libraries for designing and working with __zero knowledge succinct non-interactive arguments (zkSNARKs)__. This repository contains efficient implementations of cryptographic primitives such as collision-resistant hash functions, hiding commitments, pseudo-random functions, signatures, and, optionally, R1CS constraints for these.\n\nThis library is released under the MIT License and the Apache v2 License (see [License](#license)).\n\n**WARNING:** This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.\n\n## Build guide\n\nThe library compiles on the `stable` toolchain of the Rust compiler. To install the latest version of Rust, first install `rustup` by following the instructions [here](https://rustup.rs/), or via your platform's package manager. Once `rustup` is installed, install the Rust toolchain by invoking:\n\n```bash\nrustup install stable\n```\n\nAfter that, use `cargo`, the standard Rust build tool, to build the library:\n\n```bash\ngit clone https://github.com/arkworks-rs/crypto-primitives.git\ncargo build --release\n```\n\nThis library comes with unit tests for each of the provided crates. Run the tests with:\n\n```bash\ncargo test\n```\n\n## License\n\nThis library is licensed under either of the following licenses, at your discretion.\n\n* Apache License Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or [apache.org license link](http://www.apache.org/licenses/LICENSE-2.0))\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or [opensource.org license link](http://opensource.org/licenses/MIT))\n\nUnless you explicitly state otherwise, any contribution submitted for inclusion in this library by you shall be dual licensed as above (as defined in the Apache v2 License), without any additional terms or conditions.\n\n## Acknowledgements\n\nThis work was supported by:\na Google Faculty Award;\nthe National Science Foundation;\nthe UC Berkeley Center for Long-Term Cybersecurity;\nand donations from the Ethereum Foundation, the Interchain Foundation, and Qtum.\n\nAn earlier version of this library was developed as part of the paper *\"[ZEXE: Enabling Decentralized Private Computation][zexe]\"*.\n\n[zexe]: https://ia.cr/2018/962\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkworks-rs%2Fcrypto-primitives","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farkworks-rs%2Fcrypto-primitives","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farkworks-rs%2Fcrypto-primitives/lists"}