ark-crypto-primitives
A library of useful cryptographic primitives
0.6.0
7.1M downloads/mo
#3764 most downloaded on crates.io
arkworks-rs/crypto-primitives
What this package is like to depend on
Last release 3 months ago
26 Apr 2026
Release timing varies
gaps range from 2 months to 1.5 years
Most releases are documented
notes for 4 of 5 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
7 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
7 releases · Mar 2021 to Apr 2026
2022
2023
2024
2025
2026
Releases
latest 7-
0.6.026 Apr 2026Nothing published for this version
-
0.5.028 Oct 2024Release notes
Open source →- #120 Add input size check to
bowe_hopwood::CRHGadget::evaluate.
Breaking changes
Features
- #107 Impl
CanonicalSerializeandCanonicalDeserializeforark_crypto_primitives::crh::pedersen::Parameters
Improvements
Bugfixes
- #120 Add input size check to
-
0.5.0-alpha.020 Jun 2024 pre-releaseNothing published for this version
-
0.4.024 Jan 2023Release notes
Open source →Breaking changes
- #56 Compress the output of the Bowe-Hopwood-Pedersen CRH to a single field element, in line with the Zcash specification.
- #60 Merkle tree's
Configrequires a user-defined converter to turn leaf hash output to inner hash output. - #60 Rename the CRH trait as
CRHSchemeand the CRHGadget trait toCRHSchemeGadget. - #60 Use
ark-spongeto instantiate Poseidon. - #76 Fix Pedersen padding bug.
- #77 Implement SHA-256 CRH.
- #86
- Moves
ark-spongehere. - Updates dependencies and version number to
0.4. - Adds feature flags to enable downstream users to select exactly those components that they're interested in.
- Moves
- #103 Removes
cp-benchesand moves contents tobenches - #104 Updates
digest,blake2,sha2to0.10. Changes API forBlake2sWithParameterBlock.
Features
- #59 Implement
TwoToOneCRHSchemefor Bowe-Hopwood CRH. - #60 Merkle tree no longer requires CRH to input and output bytes. Leaf can be any raw input of CRH, such as field elements.
- #67 User can access or replace leaf index variable in
PathVar.
Improvements
Bugfixes
-
0.4.0-alpha29 Nov 2022 pre-releaseNothing published for this version
-
0.3.006 Jun 2021Release notes
Open source →Breaking changes
- #30 Refactor the Merkle tree to separate the leaf hash and two-to-one hash.
Features
- #38 Add a signature verification trait
SigVerifyGadget. - #44 Add basic ElGamal encryption gadgets.
- #48 Add
CanonicalSerializeandCanonicalDeserializetoPathandCRHoutputs.
Improvements
Bugfixes
-
0.2.025 Mar 2021