sjcl
Stanford JavaScript Crypto Library; the default npm build provides AES in CCM, OCB2 and GCM modes, SHA-256, HMAC, PBKDF2 and a Fortuna-style random generator.
In short
What to know.
- Algorithms
- AES, AES-GCM, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), HMAC and 2 moreNone would be broken by a large quantum computer.
- Advisories
- 1 in the storeOSV last read 3 December 2026, 16:48 UTC.
- What to do
- Its source marks it deprecated or unmaintained: plan a replacement. Check your version against the advisories below. Each lists its affected and fixed versions.
1 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey | GHSA-2w8x-224x-785m | before 1.0.9 | Fixed in 1.0.9 | Rated High |
1 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey | NMN-2026-0014 | Severity High | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for sjclregistry.npmjs.orgRetrieved 3 December 2026
- sjcl README (deprecation status)github.comRetrieved 3 December 2026
- sjcl 1.0.9 published sjcl.js buildcdn.jsdelivr.netRetrieved 3 December 2026
Full record
- Package
- sjcl
- Ecosystem
- npm
- Role
- Implementation
- Repository
- github.com/bitwiseshiftleft/sjcl
- Status
- Marked deprecated or unmaintained by its source.
- Notes
- The README is titled "[DEPRECATED] sjcl" and asks that it not be used in new projects. Elliptic-curve, SHA-1, SHA-512 and other modules exist in the repository but are not in the default sjcl.js build published to npm.
- 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
- 1 listed above.
Algorithms it provides
- AES cipherSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
- Cryptographically strong random number generation rngOtherNot applicable
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.AES, AES-GCM, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), HMAC, PBKDF2
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.