# js-sha256 — card for AI agents

Pure JavaScript implementation of SHA-256 hashing with UTF-8 encoding support for browsers and Node.js.

Category: Auth and security libraries · npm package `js-sha256` · latest version 1.0.0 (checked 2026-11-01)
Install: `npm install js-sha256`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 52.7 (#1675 of all tools, 61 of 141 in its category)
- Used in 4 public projects set up for AI coding agents (0.1%)
- Downloads last week: 7,857,723 (as of 2026-11-24), +50.7% over 4 weeks
- GitHub stars: 977 (as of 2026-11-24)
- Last push: 2026-11-18

## Often used with
dotenv 72.1%, Solana Web3.js 48.8%, Axios 41.9%, TanStack Query 37.2%, tsx 46.5%, undici 34.9%

## Checked alternatives (same job)
- bcryptjs: https://agentgid.com/tools/bcryptjs/agent.md
- crypto-js: https://agentgid.com/tools/crypto-js/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/js-sha256/
- Homepage: https://github.com/emn178/js-sha256
- Repository: https://github.com/emn178/js-sha256

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
