IntelligenceComponentscrates.io
alloy-primitives
Ethereum primitive types for Alloy, including a Keccak-256 helper, EIP-191 message hashing and an ECDSA secp256k1 signature type with public key and address recovery.
In short
What to know.
- Algorithms
- Keccak-256, ECDSA on secp256k11 of 2 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 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 alloy-primitivescrates.ioRetrieved 3 December 2026
- alloy-primitives 1.7.3 README on crates.iocrates.ioRetrieved 3 December 2026
- alloy-rs/core primitives crate sourcegithub.comRetrieved 3 December 2026
Full record
- Package
- alloy-primitives
- Ecosystem
- crates.io
- Role
- Toolkit
- Repository
- github.com/alloy-rs/core
- Status
- Not marked deprecated by its registry or maintainers.
- 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
- Keccak-256 hashHashWeakened by Grover's search
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
What a large quantum computer would change
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Keccak-256
- 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 secp256k1
Notes describe algorithm families, not any one project.