IntelligenceComponentscrates.io
near-crypto
NEAR key and signature types for Ed25519, secp256k1 and ML-DSA-65 (FIPS 204), with an in-memory signer and a VRF module.
In short
What to know.
- Algorithms
- Ed25519, ECDSA on secp256k1, ML-DSA2 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 Ed25519, ECDSA on secp256k1 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 near-cryptocrates.ioRetrieved 3 December 2026
- near-crypto documentation on docs.rsdocs.rsRetrieved 3 December 2026
Full record
- Package
- near-crypto
- Ecosystem
- crates.io
- Role
- Toolkit
- Repository
- github.com/near/nearcore
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- The crate describes itself as an internal nearcore crate.
- 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
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ML-DSA signaturePost-quantumDesigned to resist
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.Ed25519, ECDSA on secp256k1
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-DSA
Notes describe algorithm families, not any one project.