{"crate":{"id":"ark-crypto-primitives","name":"ark-crypto-primitives","updated_at":"2026-04-26T20:59:20.043Z","versions":[2312028,1317664,1179900,710261,672973,386890,356230],"keywords":["blake2s","gr1cs","pedersen","schnorr","snark"],"categories":["cryptography"],"badges":[],"created_at":"2021-03-25T05:19:18.647439Z","downloads":8763931,"recent_downloads":1492629,"default_version":"0.6.0","num_versions":7,"yanked":false,"max_version":"0.6.0","newest_version":"0.6.0","max_stable_version":"0.6.0","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","links":{"version_downloads":"/api/v1/crates/ark-crypto-primitives/downloads","versions":null,"owners":"/api/v1/crates/ark-crypto-primitives/owners","owner_team":"/api/v1/crates/ark-crypto-primitives/owner_team","owner_user":"/api/v1/crates/ark-crypto-primitives/owner_user","reverse_dependencies":"/api/v1/crates/ark-crypto-primitives/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":2312028,"crate":"ark-crypto-primitives","num":"0.6.0","dl_path":"/api/v1/crates/ark-crypto-primitives/0.6.0/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.6.0/readme","updated_at":"2026-04-26T20:59:20.043Z","created_at":"2026-04-26T20:59:20.043Z","downloads":284322,"features":{"asm":["ark-ff/asm"],"commitment":["crh"],"constraints":["ark-r1cs-std","tracing"],"crh":["sponge"],"default":["std"],"encryption":[],"merkle_tree":["crh","hashbrown"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel","ark-relations/parallel"],"prf":[],"print-trace":["ark-std/print-trace"],"signature":[],"snark":[],"sponge":["merlin"],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std","ark-r1cs-std?/std","blake3?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.6.0/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.6.0/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.6.0/authors"},"crate_size":103542,"published_by":{"id":409475,"login":"z-tech","name":"Andrew Zitek-Estrada","avatar":"https://avatars.githubusercontent.com/u/1497456?v=4","url":"https://github.com/z-tech","github_username_matches":true,"created_at":"2012-03-03T19:36:42Z"},"audit_actions":[{"action":"publish","user":{"id":409475,"login":"z-tech","name":"Andrew Zitek-Estrada","avatar":"https://avatars.githubusercontent.com/u/1497456?v=4","url":"https://github.com/z-tech","github_username_matches":true,"created_at":"2012-03-03T19:36:42Z"},"time":"2026-04-26T20:59:20.043Z"}],"checksum":"31b3409b1846fe459d19c95df039481575ac6d5842ae63858ad75cc31219bfc1","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2021","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":9010,"comment_lines":472,"files":59}},"total_code_lines":9010,"total_comment_lines":472}},{"id":1317664,"crate":"ark-crypto-primitives","num":"0.5.0","dl_path":"/api/v1/crates/ark-crypto-primitives/0.5.0/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.5.0/readme","updated_at":"2024-10-28T13:07:07.865690Z","created_at":"2024-10-28T13:07:07.865690Z","downloads":2933531,"features":{"commitment":["crh"],"crh":["sponge"],"default":["std"],"encryption":[],"merkle_tree":["crh","hashbrown"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel"],"prf":[],"print-trace":["ark-std/print-trace"],"r1cs":["ark-r1cs-std","tracing"],"signature":[],"snark":[],"sponge":["merlin"],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.5.0/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.5.0/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.5.0/authors"},"crate_size":84890,"published_by":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"audit_actions":[{"action":"publish","user":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"time":"2024-10-28T13:07:07.865690Z"}],"checksum":"1e0c292754729c8a190e50414fd1a37093c786c709899f29c9f7daccecfa855e","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2021","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":8100,"comment_lines":440,"files":49}},"total_code_lines":8100,"total_comment_lines":440}},{"id":1179900,"crate":"ark-crypto-primitives","num":"0.5.0-alpha.0","dl_path":"/api/v1/crates/ark-crypto-primitives/0.5.0-alpha.0/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.5.0-alpha.0/readme","updated_at":"2024-06-20T12:53:23.600122Z","created_at":"2024-06-20T12:53:23.600122Z","downloads":1921,"features":{"commitment":["crh"],"crh":["sponge"],"default":["std"],"encryption":[],"merkle_tree":["crh","hashbrown"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel"],"prf":[],"print-trace":["ark-std/print-trace"],"r1cs":["ark-r1cs-std","tracing"],"signature":[],"snark":[],"sponge":[],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.5.0-alpha.0/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.5.0-alpha.0/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.5.0-alpha.0/authors"},"crate_size":83187,"published_by":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"audit_actions":[{"action":"publish","user":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"time":"2024-06-20T12:53:23.600122Z"}],"checksum":"7ed5da133cbc7e9371314b9ba947c3cd853ee2c3f2b69f7c9fbdd06f531c5b0e","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2021","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":7896,"comment_lines":410,"files":48}},"total_code_lines":7896,"total_comment_lines":410}},{"id":710261,"crate":"ark-crypto-primitives","num":"0.4.0","dl_path":"/api/v1/crates/ark-crypto-primitives/0.4.0/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.4.0/readme","updated_at":"2023-01-24T11:31:55.857777Z","created_at":"2023-01-24T11:31:55.857777Z","downloads":4687091,"features":{"commitment":["crh"],"crh":["sponge"],"default":["std"],"encryption":[],"merkle_tree":["crh"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel"],"prf":[],"print-trace":["ark-std/print-trace"],"r1cs":["ark-r1cs-std","tracing"],"signature":[],"snark":[],"sponge":[],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.4.0/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.4.0/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.4.0/authors"},"crate_size":80338,"published_by":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"audit_actions":[{"action":"publish","user":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"time":"2023-01-24T11:31:55.857777Z"}],"checksum":"1f3a13b34da09176a8baba701233fdffbaa7c1b1192ce031a3da4e55ce1f1a56","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2021","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":7574,"comment_lines":382,"files":49}},"total_code_lines":7574,"total_comment_lines":382}},{"id":672973,"crate":"ark-crypto-primitives","num":"0.4.0-alpha","dl_path":"/api/v1/crates/ark-crypto-primitives/0.4.0-alpha/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.4.0-alpha/readme","updated_at":"2022-11-29T14:38:16.906511Z","created_at":"2022-11-29T14:38:16.906511Z","downloads":2404,"features":{"default":["std"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel"],"print-trace":["ark-std/print-trace"],"r1cs":["ark-r1cs-std","tracing","ark-sponge/r1cs"],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.4.0-alpha/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.4.0-alpha/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.4.0-alpha/authors"},"crate_size":58262,"published_by":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"audit_actions":[{"action":"publish","user":{"id":181318,"login":"mmagician","name":"Marti","avatar":"https://avatars.githubusercontent.com/u/8402446?v=4","url":"https://github.com/mmagician","github_username_matches":true,"created_at":"2014-08-09T13:24:47Z"},"time":"2022-11-29T14:38:16.906511Z"}],"checksum":"726a1e17828f0490532526c13c7d108494b0aa5908b41eab830b2f355d850694","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":4980,"comment_lines":323,"files":39}},"total_code_lines":4980,"total_comment_lines":323}},{"id":386890,"crate":"ark-crypto-primitives","num":"0.3.0","dl_path":"/api/v1/crates/ark-crypto-primitives/0.3.0/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.3.0/readme","updated_at":"2021-06-06T22:33:45.638948Z","created_at":"2021-06-06T22:33:45.638948Z","downloads":828698,"features":{"default":["std"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel"],"print-trace":["ark-std/print-trace"],"r1cs":["ark-r1cs-std","tracing","ark-nonnative-field"],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.3.0/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.3.0/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.3.0/authors"},"crate_size":43586,"published_by":{"id":116786,"login":"weikengchen","name":"Weikeng Chen","avatar":"https://avatars.githubusercontent.com/u/14937807?v=4","url":"https://github.com/weikengchen","github_username_matches":true,"created_at":"2015-10-02T08:21:24Z"},"audit_actions":[{"action":"publish","user":{"id":116786,"login":"weikengchen","name":"Weikeng Chen","avatar":"https://avatars.githubusercontent.com/u/14937807?v=4","url":"https://github.com/weikengchen","github_username_matches":true,"created_at":"2015-10-02T08:21:24Z"},"time":"2021-06-06T22:33:45.638948Z"}],"checksum":"ff773c0ef8c655c98071d3026a63950798a66b2f45baef22d8334c1756f1bd18","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":4522,"comment_lines":325,"files":37}},"total_code_lines":4522,"total_comment_lines":325}},{"id":356230,"crate":"ark-crypto-primitives","num":"0.2.0","dl_path":"/api/v1/crates/ark-crypto-primitives/0.2.0/download","readme_path":"/api/v1/crates/ark-crypto-primitives/0.2.0/readme","updated_at":"2021-03-25T05:19:18.647439Z","created_at":"2021-03-25T05:19:18.647439Z","downloads":19857,"features":{"default":["std"],"parallel":["std","rayon","ark-ec/parallel","ark-std/parallel","ark-ff/parallel"],"print-trace":["ark-std/print-trace"],"r1cs":["ark-r1cs-std","tracing","ark-nonnative-field"],"std":["ark-ff/std","ark-ec/std","ark-std/std","ark-relations/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ark-crypto-primitives/0.2.0/dependencies","version_downloads":"/api/v1/crates/ark-crypto-primitives/0.2.0/downloads","authors":"/api/v1/crates/ark-crypto-primitives/0.2.0/authors"},"crate_size":36672,"published_by":{"id":116756,"login":"ValarDragon","name":"Dev Ojha","avatar":"https://avatars.githubusercontent.com/u/6440154?v=4","url":"https://github.com/ValarDragon","github_username_matches":true,"created_at":"2014-01-18T23:28:15Z"},"audit_actions":[{"action":"publish","user":{"id":116756,"login":"ValarDragon","name":"Dev Ojha","avatar":"https://avatars.githubusercontent.com/u/6440154?v=4","url":"https://github.com/ValarDragon","github_username_matches":true,"created_at":"2014-01-18T23:28:15Z"},"time":"2021-03-25T05:19:18.647439Z"}],"checksum":"74b83a7e125e5c611e4a997123effb2f02e3fbc66531dd77751d3016ee920741","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"A library of useful cryptographic primitives","homepage":"https://arkworks.rs","documentation":"https://docs.rs/ark-crypto-primitives/","repository":"https://github.com/arkworks-rs/crypto-primitives","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3743,"comment_lines":278,"files":33}},"total_code_lines":3743,"total_comment_lines":278}}],"keywords":[{"id":"blake2s","keyword":"blake2s","created_at":"2015-05-24T23:22:49.574579Z","crates_cnt":11},{"id":"gr1cs","keyword":"gr1cs","created_at":"2026-04-26T20:59:20.043Z","crates_cnt":1},{"id":"pedersen","keyword":"pedersen","created_at":"2019-10-07T04:29:34.155666Z","crates_cnt":7},{"id":"schnorr","keyword":"schnorr","created_at":"2017-11-18T03:03:32.250101Z","crates_cnt":60},{"id":"snark","keyword":"snark","created_at":"2019-08-31T02:29:18.682692Z","crates_cnt":109}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":9089}]}