@noble/hashes
Audited zero-dependency JavaScript implementation of SHA, BLAKE, HMAC, HKDF, PBKDF.
Auth and security libraries npm MIT
Used in agent projects
55
0.4% of 12,697 public repos built with AI coding agents
Rank in auth and security libraries
#21 of 47
by use in those projects
Downloads
94.6M
npm, last 7 days, @noble/hashes
GitHub stars
928
last push Sep 8, 2026
How @noble/hashes is used
@noble/hashes is a dependency in 55 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #21 of 47 in auth and security libraries. The most used alternative there is NextAuth.js. Projects that use it most often also use Solana Web3.js (54.5%), Vitest (45.5%), TypeScript (96.4%).
Often used with @noble/hashes
| Solana Web3.js | 54.5% of @noble/hashes projects · 3.3× more than average |
|---|---|
| Vitest | 45.5% of @noble/hashes projects · 3.7× more than average |
| TypeScript | 96.4% of @noble/hashes projects · 1.7× more than average |
| @noble/curves | 34.5% of @noble/hashes projects · 95.4× more than average |
| ethers.js | 25.5% of @noble/hashes projects · 5.6× more than average |
| Prettier | 40.0% of @noble/hashes projects · 2.3× more than average |
| @scure/bip39 | 20.0% of @noble/hashes projects · 115.4× more than average |
| @noble/ed25519 | 20.0% of @noble/hashes projects · 84.6× more than average |
By coding agent
| Claude Code | 0.6% of projects set up for it |
|---|---|
| GitHub Copilot | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list @noble/hashes as a dependency.
Install
| Package | npm install @noble/hashes |
|---|---|
| Main stacks | TypeScript / JavaScript (38), Next.js (8), Rust (6), Python (2) |
| Example projects | prosopo/captcha, nirholas/three.ws, hzrd149/nostrudel, near/wallet-selector, BoltzExchange/boltz-web-app |
Alternatives to @noble/hashes
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| NextAuth.js npm Complete open-source authentication solution designed for Next.js applications. |
266 (2.1%) | 6.7M | 28.4K | ISC |
| bcryptjs npm Pure JavaScript bcrypt implementation for secure password hashing without dependencies. |
256 (2.0%) | 14.7M | 3,797 | BSD-3-Clause |
| jsonwebtoken npm Create, verify and decode JSON Web Tokens for authentication and secure data transmission. |
241 (1.9%) | 59.3M | 18.2K | MIT |
| cryptography pypi Python library providing cryptographic recipes and primitives for secure applications. |
213 (1.7%) | 281M | 7,803 | — |
| jose npm Comprehensive JWT and JWK handling for Node.js and web runtimes. |
141 (1.1%) | 151M | 7,824 | MIT |
| PyJWT pypi Python library for encoding and decoding JSON Web Tokens. |
128 (1.0%) | 154M | 5,714 | — |
| Better Auth npm Comprehensive authentication framework for TypeScript with multiple strategies. |
126 (1.0%) | 11.4M | 30.2K | MIT |
| Helmet npm Express middleware that sets HTTP security headers to prevent vulnerabilities. |
125 (1.0%) | 16.2M | 10.7K | MIT |