# ranisalt/node-argon2

Node.js bindings for Argon2 hashing algorithm

Repository: https://github.com/ranisalt/node-argon2
Canonical: https://ross.abutalabs.com/products/node-argon2
Homepage: https://www.npmjs.com/package/argon2
Language: JavaScript
License: MIT
License Family: permissive
Topics: argon2, crypto, encryption, hashing, password, hacktoberfest, nodejs
Last push: 2026-08-24T16:52:51+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 82, longevity 100
- inputs: {"age_days": 3910, "days_push": 9, "days_rel": 43, "gap_med": 54.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2182, forks 100 (observed 2026-08-28T04:06:23.408606+00:00)

## What it is
Node.js bindings to the reference Argon2 password-hashing implementation, supporting Argon2i, Argon2d, and Argon2id. It provides a simple async API for hashing passwords, verifying PHC-formatted hashes, and checking when re-hashing is needed.

## Use cases
- hash user passwords with argon2 in node.js
- verify password against an argon2 hash
- migrate from bcrypt or scrypt to argon2
- check if stored password hashes need re-hashing with new parameters
- generate PHC-formatted argon2 strings

## When to choose
- you need password hashing in a Node.js app with sensible secure defaults
- you want PHC string formatting, verification, and re-hash checks that node:crypto lacks
- you need Argon2i/d/id variants with tunable time, memory, and parallelism costs

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, security, auth
- domain: security, backend, developer-tools
- platform: cross-platform
- tags: argon2, password-hashing, hashing, native-bindings, typescript-support, nodejs

## Member repositories
- ranisalt/node-argon2 (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:23.408606+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:48:17.552964+00:00, confidence not recorded.
  - readme: https://github.com/ranisalt/node-argon2 (fetched 2026-08-28T04:06:23.408606+00:00, sha d231da3d15df)
  - homepage: https://www.npmjs.com/package/argon2 (fetched 2026-08-29T10:28:42.689134+00:00, sha 6688d1ab0e12)
- Data as of 2026-08-30T08:39:29.467469+00:00.
