noble-curves
A strong pick. 1st of 10 cryptography and password hashing.
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
Overall8.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
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.
- github.com/paulmillr/noble-curves/releases: Active security-focused releases
- paulmillr.com/noble: Audits and adopters
- npm downloadsLast4Weeks: Growing faster than median
GPT-6.2 Sol: 8.3, likely 7.1 to 9.2
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.
- ecdsa.com/libraries/noble-curves: Current signature behavior and version 2 migration boundaries
- github.com/paulmillr/noble-curves/releases: Recent audit fixes, maintenance, and signed releases
- peers commitsLastYear and latestPublishedAt: More recent activity than TweetNaCl.js
- libsodium.gitbook.io/doc/secret-key_cryptography/aead: Peer provides authenticated encryption
- github.com/ranisalt/node-argon2: Peer specializes in Node.js password hashing
Needed by many4.0
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.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.
- github description: Elliptic curve cryptography only
- paulmillr.com/noble: Users are mostly wallets, Ethereum tooling and encrypted mail
GPT-6.2 Sol: 4.0, likely 2.8 to 5.1
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.
- github.com/paulmillr/noble-curves: Curve and protocol coverage across runtimes
- jsr.io/@noble/curves/doc/webcrypto.js: Built-in WebCrypto covers NIST curves, Ed25519, and X25519
- almanac.httparchive.org/en/2025/security: Public web measurements show limited direct signing and ECDH use
Helps a lot8.6
How well does it do the job for those who need it?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
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.
- github.com/paulmillr/noble-curves/releases: 2.3/2.4 hardening, perf gains, v2 breaking API changes
- redirect.github.com/openpgpjs/openpgpjs/pull/1694: OpenPGP.js replaced elliptic with noble-curves
- npm hasTypes: Built-in TypeScript types
GPT-6.2 Sol: 8.7, likely 7.6 to 9.6
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.
- github.com/paulmillr/noble-curves: Curve coverage, typed examples, and test vectors
- ecdsa.com/libraries/noble-curves: Independent 2.4.0 tests verify ECDSA vectors and interoperability details
- github.com/paulmillr/noble-curves/releases/tag/2.3.0: Improved errors and types, with performance trade-offs
- reddit.com/r/reactnative/comments/1u3t5d7/benchmark_reactnativequickcrypto_vs_noblecurves: Single mobile benchmark reports substantially faster native Ed25519
Holds up over time7.9
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- github commitsLastYear: 118 commits, release 2.4.0 in Aug 2026
- github openIssues: 2 open vs 158 closed
- paulmillr.com/noble: Audits funded by OpenSats, starknet and others
- herodevs.com/vulnerability-directory/cve-2025-14505: elliptic CVE pushes users to migrate
GPT-6.2 Sol: 7.7, likely 6.4 to 8.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.
- github commitsLastYear and releasesLastYear: 118 commits and three releases
- paulmillr.com/noble: Documents grants and externally funded audits
- github.com/paulmillr/noble-curves/issues/259: Same-day maintainer response to a downstream compatibility report
- jsr.io/@noble/curves/versions: One named publisher across listed releases
- nop33.com/blog/shrinking-alephium-web3-sdk: SDK maintainer reports a version 2 migration blocker
Used widely6.1
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- npm downloadsLast4Weeks: 196M vs 35.8M a year ago
- dependents repos: 15,062 repos, 266 packages
- github stars: 973 stars
GPT-6.2 Sol: 5.7, likely 4.4 to 7.0
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.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Install growth exceeds the catalog baseline
- dependents and peers dependentRepos: 15,062 indexed repositories and 266 indexed packages
- github.com/ethers-io/ethers.js/blob/main/package.json: ethers installs noble-curves transitively
- github stars, hackerNews, and bluesky: 973 stars, one low-engagement Hacker News story, and no Bluesky links counted
Vouched for8.6
Who stands behind it being good?
Claude Opus 5.5: 9.0, likely 8.0 to 9.5
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.
- cure53.de/audit-report_noble-crypto-libs.pdf: Cure53 audit of curves 1.5.0
- paulmillr.com/noble: Audit list and notable users
- news.furryrefuge.com/?p=12911: Independent write-up recommends moving from elliptic to noble
- bankless.com/read/news/report-openai-interested-in-acquiring-trail-of-bits.md: Noble covered in the 2026 Trail of Bits / OpenAI effort
GPT-6.2 Sol: 8.2, likely 7.0 to 9.1
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.
- github.com/MetaMask/key-tree/blob/main/package.json: MetaMask key-tree depends on the 1.x line
- github.com/ethereum/js-ethereum-cryptography/blob/main/package.json: Ethereum's cryptography package pins 2.2.0
- cure53.de/audit-report_noble-crypto-libs.pdf: Independent audit of curve implementations and tests
- github.com/paulmillr/noble-curves/releases/tag/2.3.0: Release records fixes from the 2026 Trail of Bits review
- ecdsa.com/libraries/noble-curves: Independent checks against 2.4.0
Safe8.3
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
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.
- advisories total: 0 advisories
- npm dependencies: 1 dependency
- scorecard: No Scorecard data
- security.snyk.io/package/npm/%40noble%2Fcurves: Snyk: no direct vulnerabilities
GPT-6.2 Sol: 8.0, likely 6.8 to 9.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.
- npm license, npm dependencies, advisories, and scorecard: MIT, one dependency, zero OSV entries, and no Scorecard result
- github.com/paulmillr/noble-curves/blob/2.4.0/package.json: Exact runtime dependency pin
- raw.githubusercontent.com/paulmillr/noble-curves/2.4.0/.github/workflows/release.yml: OIDC publishing workflow pinned to a commit
- intel.aikido.dev/cve/AIKIDO-2026-26118: Records the historical X25519 timing issue and its fix
- github.com/paulmillr/noble-curves/releases/tag/2.4.0: Signed immutable release with additional input hardening
- cure53.de/audit-report_noble-crypto-libs.pdf: Audit discusses timing limits of JavaScript BigInt
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
- npm downloads, 4 weeks
- 196M ×5.5 in a year
- GitHub stars
- 973
- Commits, 12 months
- 118
- npm version
- 2.4.0 Aug 2026
- Versions, 12 months
- 3
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (paulmillr/noble-curves), npm (@noble/curves), OSV and the OpenSSF Scorecard.
Cryptography and password hashing
- 8.2noble-curves
- 8.1noble-hashes
- 7.8node-argon2
- 7.4libsodium.js
- 6.5hash-wasm
- 6.2bcrypt.js
- 5.4node.bcrypt.js
- 4.9Forge
- 4.5TweetNaCl.js
- 1.7crypto-js