@peculiar/webcrypto
WebCrypto API implementation for Node.js on top of the built-in crypto module, adding curves such as secp256k1, brainpool, Ed448 and X448 and non-standard mechanisms such as DES and RSAES-PKCS1-v1_5.
In short
What to know.
- Algorithms
- SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, HMAC and 15 more11 of 19 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:48 UTC.
- What to do
- Plan a move away from RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448 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:48 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- npm registry metadata for @peculiar/webcryptoregistry.npmjs.orgRetrieved 3 December 2026
- webcrypto README (supported algorithms table)github.comRetrieved 3 December 2026
Full record
- Package
- @peculiar/webcrypto
- Ecosystem
- npm
- Role
- Binding to a native library
- Repository
- github.com/PeculiarVentures/webcrypto
- 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:48 UTC
- Findings
- No finding refers to this package yet.
Algorithms it provides
- SHA-1 hashHashWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- SHA-3 and SHAKE hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
- AES cipherSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- Ed448 signatureClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- X448 key-exchangeClassical public keyBroken by Shor's algorithm
- HKDF kdfSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
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.SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, HMAC, AES, AES-GCM, HKDF, PBKDF2
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, RSA encryption, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448
Notes describe algorithm families, not any one project.