IntelligenceAlgorithmspedersen-hash
Pedersen hash
A hash built from elliptic-curve point additions, whose collision resistance rests on the discrete logarithm problem in that curve group. Starknet, Zcash and circom circuits on Baby Jubjub use variants of it.
In short
What a quantum computer changes.
- Quantum effect
- Broken by Shor's algorithm
- Family
- Classical public keyRests on elliptic-curve discrete logarithm.
- What it means
- Shor's algorithm, run on a large, fault-tolerant quantum computer, factors large numbers and solves discrete logarithms, including those on elliptic curves, far faster than any known classical method. The security of this algorithm rests on elliptic-curve discrete logarithm, which is one of those problems. Anyone with such a machine could work out a private key from the matching public key. Signatures could then be forged, and data protected by a key exchange built on this algorithm could be decrypted, including traffic recorded now and kept for later. Longer keys do not fix this. The usual answer is to plan a move to a post-quantum or hybrid scheme.
This describes the family, not any project that uses it.
9 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| @scure/starknetnpm | Starknet cryptography: ECDSA over the Stark curve, Pedersen and Poseidon hashes, and Starknet Keccak. |
| micro-starknetnpm | The former name of @scure/starknet: ECDSA over the Stark curve and Pedersen and Poseidon hashes. |
| starknetnpm | Starknet JavaScript SDK with Stark curve signing, Pedersen, Poseidon and Keccak hashing, and an Ethereum secp256k1 signer for accounts. |
| circomlibjsnpm | JavaScript counterparts of circomlib circuits: Baby Jubjub EdDSA, Poseidon, Pedersen and MiMC hashes, and sparse Merkle trees. |
| @aztec/bb.jsnpm | WebAssembly and native build of the Barretenberg prover with UltraHonk proving over BN254, Pedersen, Poseidon2 and BLAKE2s hashing, ECDSA on secp256k1 and P-256, Grumpkin Schnorr signatures and AES. |
| ark-crypto-primitivescrates.io | Arkworks building blocks for SNARK circuits: Pedersen and Bowe-Hopwood hashes, Pedersen and BLAKE2s commitments, Poseidon sponges, a SHA-256 CRH, Merkle trees, a BLAKE2s PRF and Schnorr signatures, with optional R1CS constraints. |
| sapling-cryptocrates.io | Zcash Sapling shielded-pool cryptography: key components, note encryption, the Sapling Pedersen hash and value commitments over Jubjub, and the Spend and Output circuits proved with Groth16. |
| starknet-cryptocrates.io | Low-level Starknet cryptography: ECDSA signing, verification and key recovery on the STARK curve with RFC 6979 nonces, plus the Starknet Pedersen and Poseidon hashes. |
| lambdaworks-cryptocrates.io | Lambdaworks primitives for proof systems: KZG commitments, Merkle trees, Fiat-Shamir transcripts and hashes including Poseidon, Pedersen, Rescue Prime and Monolith. |
2 listed
Sources
- Starknet Documentation: Cryptographydocs.starknet.ioRetrieved 3 December 2026
- iden3 documentation: Pedersen Hashiden3-docs.readthedocs.ioRetrieved 3 December 2026
Full record
- Identifier
- pedersen-hash
- Kind
- hash
- Family
- Classical public key
- Rests on
- elliptic-curve discrete logarithm
- Quantum effect
- Broken by Shor's algorithm
Standards
No standard is listed for this algorithm.