# noble-curves: 8.2 out of 10

A strong pick. 1st of 10 in [Cryptography and password hashing](https://elestia.ai/opensource/crypto/index.md).

noble-curves is a pure TypeScript library for elliptic-curve cryptography: ECDSA, EdDSA, Schnorr, ECDH, BLS and FROST over secp256k1, ed25519, P-256 and more. It has been audited several times and is the strongest pick for portable signing and key exchange in JavaScript, but it does not hash passwords or encrypt data.

**Best for:** Projects that need audited, dependency-light signatures or key exchange (wallets, E2E messaging, PGP) that run the same in browsers, Node, Deno and Bun.

## Scores

- **Overall: 8.2** (likely 7.1 to 8.9)
  - Claude Opus 5.5 (8.0): For elliptic-curve signing and key exchange in JavaScript it is the clear best pick: audited, active, lean and trusted by major wallets and encrypted-mail clients. It is not the default for the whole category, because it does no password hashing or encryption, and it relies on one central maintainer.
  - GPT-6.2 Sol (8.3): Choose noble-curves when a new project needs portable secp256k1, Schnorr, BLS, or several elliptic curves behind one typed API. Its recent fixes and independent testing give it an edge over older peers for that work. Choose libsodium.js when authenticated encryption is the main job, or node-argon2 for server-side password hashing. Version 2 migration friction and reliance on one visible release maintainer limit the recommendation.
- **Needed by many: 4.0** (likely 2.9 to 5.1)
  - Claude Opus 5.5 (4.0): Signing and key exchange with specific curves is a clear niche. It is centred on crypto wallets, E2E messaging and protocol work, and most web apps use WebCrypto or node:crypto instead. It covers only part of the category's job: it does no password hashing and no encryption.
  - GPT-6.2 Sol (4.0): Portable signing and key agreement matter for wallets, identity systems, and protocol libraries. Built-in WebCrypto covers several common curves, while password hashing and authenticated encryption fall outside noble-curves' scope. Public web measurements capture some of this demand, with less visibility into backend and SDK work.
- **Helps a lot: 8.6** (likely 7.6 to 9.3)
  - Claude Opus 5.5 (8.5): It is the most complete pure-JS ECC library, with many curves, RFC-compliant schemes (FROST, OPRF, hash-to-curve), strict parsing and strong types. Each release adds hardening and speed-ups. It loses points because it is slower than native code, and the 2.0 API changes mean older AI-generated code samples are often wrong.
  - GPT-6.2 Sol (8.7): Version 2.4.0 combines a wide curve selection with typed examples and improvements to error messages. Independent tests reproduced a standard ECDSA vector and showed where signature formats and hashing defaults can trip up integrations. Old examples can also mislead coding agents about whether to pass a message or its digest. A React Native benchmark found a large native speed advantage for Ed25519, and the gap varies by runtime and operation.
- **Holds up over time: 7.9** (likely 6.7 to 8.9)
  - Claude Opus 5.5 (8.0): The project is active, with 118 commits and 3 releases in the past year, only 2 open issues, and repeated grant-funded audits. The ecosystem is moving towards it and away from the unmaintained elliptic package. The main risk is that it depends on one central maintainer, and the 2.0 release showed a willingness to break APIs.
  - GPT-6.2 Sol (7.7): The project logged 118 commits and three releases in the past year, and its audits have received outside funding. The maintainer answered a Cardano compatibility report the day it opened. Public release history points to one person handling releases, and the Alephium SDK reported that its CommonJS build blocked a version 2 upgrade.
- **Used widely: 6.1** (likely 5.0 to 7.3)
  - Claude Opus 5.5 (6.5): About 196M downloads in 4 weeks, up 5.5x on a year before, which beats the 4.1 median, so it is gaining ground. Most installs arrive as a dependency of viem, ethers and similar tools rather than as a direct choice. Its 15k dependent repos are modest next to bcrypt or Forge, which points to tens of thousands of direct choices.
  - GPT-6.2 Sol (5.7): Four-week npm downloads rose from 35.8 million to 196.3 million, or 5.48 times the prior year, ahead of the catalog median of 4.1. Popular downstream libraries inflate that install count through transitive use. The index found 15,062 dependent repositories, ahead of libsodium.js and below noble-hashes and TweetNaCl.js. Sparse social activity and incomplete repository coverage leave the pace of direct adoption uncertain.
- **Vouched for: 8.6** (likely 7.5 to 9.3)
  - Claude Opus 5.5 (9.0): Several independent audits (Trail of Bits twice, Kudelski, Cure53) and current production use by MetaMask, ethers, viem, Proton, Tutanota and OpenPGP.js. Outside security researchers recommend it as the replacement for elliptic. There is little survey data, but the audits and the adopters who have a lot at stake count for more.
  - GPT-6.2 Sol (8.2): MetaMask's key-tree and Ethereum's cryptography package depend on noble-curves. Cure53 published an independent audit, and the August 2026 release records fixes from a newer Trail of Bits review. Independent tests cover 2.4.0 ECDSA behavior, while the downstream manifests reviewed here still pin or constrain older versions.
- **Safe: 8.3** (likely 7.2 to 9.0)
  - Claude Opus 5.5 (8.5): OSV lists no advisories. It has one dependency, its sibling @noble/hashes, and an MIT licence. The maintainer fixes and documents issues found in audits quickly, such as the minor X25519 timing leak fixed in 2.3.0. There is no Scorecard data, and releases come from a small set of publishers, so the range stays open.
  - GPT-6.2 Sol (8.0): The package uses MIT, one pinned runtime dependency, and a signed release tag with an npm Trusted Publishing workflow. Version 2.3.0 fixed a documented X25519 timing issue missing from the OSV snapshot, and 2.4.0 hardened input handling further. JavaScript timing behavior remains a concern for sensitive long-lived keys. Release authority appears concentrated, and the bundle has no OpenSSF Scorecard to corroborate repository controls.

## Good

- Audited by Trail of Bits, Kudelski Security and Cure53, with a further Trail of Bits review in 2026 and regular self-audits.
- Wide curve coverage in one package, with tree-shakeable ESM, built-in types and only @noble/hashes as a dependency.
- Ethereum and privacy tooling builds on it: viem, ethers, MetaMask, OpenPGP.js, polkadot.js and solana-web3.js.
- Security fixes land quickly and are written up openly in the release notes, for example the 2.3.0 X25519 timing fix.

## Bad

- Covers only elliptic curves: no password hashing, no symmetric encryption. Those need @noble/hashes, @noble/ciphers or argon2.
- The 2.0 release broke a lot: ESM-only, Node 20.19+, required .js import paths, prehash on by default and renamed APIs.
- One person does most of the work and does all the releases, so the project leans heavily on a single maintainer.
- Pure-JS bigint math is slower than native WebCrypto or OpenSSL, and constant-time execution cannot be fully guaranteed in JS.

## The numbers

- Downloads, 4 weeks: 196M
- In a year: ×5.5
- GitHub stars: 973
- Commits, 12 months: 118
- Last npm release: Aug 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/paulmillr/noble-curves
- npm: https://www.npmjs.com/package/@noble/curves

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
