@iden3/js-crypto
iden3 primitives: Baby Jubjub EdDSA, Poseidon, SHA-256 and random bytes.
In short
What to know.
- Algorithms
- EdDSA on Baby Jubjub, Poseidon, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), Cryptographically strong random number generation1 of 4 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Plan a move away from EdDSA on Baby Jubjub 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:49 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- npm registry metadata for @iden3/js-cryptoregistry.npmjs.orgRetrieved 3 December 2026
- @iden3/js-crypto source exportsraw.githubusercontent.comRetrieved 3 December 2026
Full record
- Package
- @iden3/js-crypto
- Ecosystem
- npm
- Role
- Implementation
- Repository
- github.com/iden3/js-crypto
- 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:49 UTC
- Findings
- No finding refers to this package yet.
Algorithms it provides
- EdDSA on Baby Jubjub signatureClassical public keyBroken by Shor's algorithm
- Poseidon hashHashWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- Cryptographically strong random number generation rngOtherNot applicable
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.EdDSA on Baby Jubjub
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.Poseidon, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512)
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.