---
title: "bcrypt for Node.js"
description: "A Node.js binding for hashing and checking passwords with bcrypt."
pagination: false
---

{/* Generated from content/. Edit the catalog, not this page. */}

<PurposeNote title="Good for">Implementing password storage in a server-side authentication system.</PurposeNote>

## What it does

A Node.js binding for hashing and checking passwords with bcrypt.

## When it fits

Implementing password storage in a server-side authentication system.

## Other options in this category

<div data-pagefind-ignore>

- [DOMPurify](/security/dompurify) — Rendering user-supplied HTML after applying an appropriate sanitization policy.
- [isomorphic-dompurify](/security/isomorphic-dompurify) — Sharing HTML sanitization behavior between application layers.
- [PKI.js](/security/pki-js) — Processing certificates and cryptographic structures with Web Crypto integration.

</div>

## Source

[Project source for bcrypt for Node.js ↗](https://github.com/kelektiv/node.bcrypt.js)

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

[Handle untrusted input safely →](/tasks/handle-untrusted-input-safely)

[All sanitization &amp; cryptography options →](/security)
