# kelektiv/node.bcrypt.js

bcrypt for NodeJs

Repository: https://github.com/kelektiv/node.bcrypt.js
Canonical: https://ross.abutalabs.com/products/nodebcryptjs
Language: C++
License: MIT
License Family: permissive
Topics: bcrypt
Last push: 2026-04-14T10:58:59+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 77, release rhythm 8, longevity 100
- inputs: {"age_days": 5984, "days_push": 141, "days_rel": 499, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7800, forks 551 (observed 2026-08-28T04:10:05.080204+00:00)

## What it is
A Node.js library providing bcrypt password hashing implemented as a native C++ addon. It handles salting and hashing passwords for secure storage and verification.

## Use cases
- hash user passwords before storing them in a database
- verify passwords against bcrypt hashes at login
- generate salted password hashes with configurable cost
- migrate legacy password hashes to bcrypt
- securely store credentials in a Node.js backend

## When to choose
- you need battle-tested bcrypt hashing in a Node.js application
- you want a native implementation for better hashing performance
- you need compatibility with existing bcrypt hashes from other systems

## When to avoid
- you want a pure-JavaScript solution without native compilation (use bcrypt.js)
- you need modern password hashing like Argon2id
- you are hashing data other than passwords (use a regular hash function)

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, security, auth
- domain: security, backend, developer-tools
- platform: cross-platform
- tags: bcrypt, password-hashing, nodejs-addon, native-module, nodejs

## Member repositories
- kelektiv/node.bcrypt.js (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:05.080204+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-29T17:34:38.366052+00:00, confidence not recorded.
  - readme: https://github.com/kelektiv/node.bcrypt.js (fetched 2026-08-28T04:10:05.080204+00:00, sha 2a3139a2b30d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
