IntelligenceComponentscrates.io
starknet-crypto
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.
In short
What to know.
- Algorithms
- ECDSA on the STARK curve, Pedersen hash, Poseidon2 of 3 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:53 UTC.
- What to do
- Plan a move away from ECDSA on the STARK curve, Pedersen hash before large quantum computers exist.
0 in the store
Advisories
No advisory in the store for this package.
OSV listed none on 3 December 2026, 16:53 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- crates.io metadata for starknet-cryptocrates.ioRetrieved 3 December 2026
- starknet-crypto 0.8.1 README on crates.iocrates.ioRetrieved 3 December 2026
Full record
- Package
- starknet-crypto
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/xJonathanLEI/starknet-rs
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- The README says it is not audited and gives no constant-time guarantees.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:53 UTC
- Findings
- No finding refers to this package yet.
Algorithms it provides
- ECDSA on the STARK curve signatureClassical public keyBroken by Shor's algorithm
- Pedersen hash hashClassical public keyBroken by Shor's algorithm
- Poseidon hashHashWeakened by Grover's search
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.ECDSA on the STARK curve, Pedersen hash
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Poseidon
Notes describe algorithm families, not any one project.