PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 7
  1. 0.6.0 26 Apr 2026

    Nothing published for this version

  2. 0.5.0 28 Oct 2024
    Release notes
    • #120 Add input size check to bowe_hopwood::CRHGadget::evaluate.

    Breaking changes

    Features

    • #107 Impl CanonicalSerialize and CanonicalDeserialize for ark_crypto_primitives::crh::pedersen::Parameters

    Improvements

    Bugfixes

    Open source →
  3. 0.5.0-alpha.0 20 Jun 2024 pre-release

    Nothing published for this version

  4. 0.4.0 24 Jan 2023
    Release notes

    chore: Release ark-crypto-primitives version 0.4.0

    Open source →
    Release notes

    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 Config requires a user-defined converter to turn leaf hash output to inner hash output.
    • #60 Rename the CRH trait as CRHScheme and the CRHGadget trait to CRHSchemeGadget.
    • #60 Use ark-sponge to instantiate Poseidon.
    • #76 Fix Pedersen padding bug.
    • #77 Implement SHA-256 CRH.
    • #86
      • Moves ark-sponge here.
      • 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.
    • #103 Removes cp-benches and moves contents to benches
    • #104 Updates digest, blake2, sha2 to 0.10. Changes API for Blake2sWithParameterBlock.

    Features

    • #59 Implement TwoToOneCRHScheme for 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

    Open source →
  5. 0.4.0-alpha 29 Nov 2022 pre-release

    Nothing published for this version

  6. 0.3.0 06 Jun 2021
    Release notes

    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 CanonicalSerialize and CanonicalDeserialize to Path and CRH outputs.

    Improvements

    Bugfixes

    Open source →
  7. 0.2.0 25 Mar 2021
    Release notes

    Breaking changes

    Features

    • #2 Add the SNARK gadget traits.
    • #3 Add unchecked allocation for ProofVar and VerifyingKeyVar.
    • #4 Add verifier_size to SNARKGadget.
    • #6 Add IntoIterator for SNARK input gadgets.
    • #28 Adds Poseidon CRH w/ constraints.

    Improvements

    Bugfixes

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive