awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dcodeIO avatar

dcodeIO/bcrypt.js

0
View on GitHub↗
3,797 stars·286 forks·JavaScript·9 views

Bcrypt.js

bcrypt.js is a portable JavaScript implementation of the bcrypt algorithm used for securely hashing and verifying user passwords. It functions as a credential security utility that protects stored passwords against brute-force attacks through the use of salts and configurable work factors.

The library is designed as a pure JavaScript cryptographic module, allowing it to run in any JavaScript environment, including both server-side Node.js and client-side web browsers, without requiring native system binaries or C++ bindings. It is a zero-dependency standalone module to minimize security risks and installation overhead.

Its core capabilities cover the transformation of plain-text passwords into secure hashes and the verification of those hashes during authentication workflows. The project includes tools for salt generation, password truncation detection, and the extraction of salt strings and iteration counts from encrypted hashes.

Features

  • Bcrypt Implementations - Provides a pure JavaScript implementation of the bcrypt algorithm for secure password hashing and verification.
  • Pure JavaScript Implementations - Implements the bcrypt algorithm entirely in JavaScript for seamless portability across Node.js and browser environments.
  • Password Hashing Utilities - Transforms plain-text passwords into secure hashes using configurable salt rounds and work factors.
  • Cryptographic Salt Generation - Generates high-entropy unique salts for each password to protect against rainbow table attacks.
  • Password Verification - Compares plain-text passwords against stored bcrypt hashes to verify user identity.
  • Password Hashing Utilities - Transforms plain-text passwords into secure, irreversible hashes to protect user credentials in storage.
  • Work Factor Iteration Controls - Allows configuring the number of hashing rounds to adjust computational cost and increase resistance to brute-force attacks.
  • Cross-Runtime Cryptography - Ensures identical password hashing and verification behavior across both server-side Node.js and client-side browser environments.
  • Credential Security and Utilities - Offers utilities for secure credential protection using salts and configurable work factors.
  • User Authentication Workflows - Provides the core primitives for verifying plain-text passwords against stored hashes within authentication workflows.
  • Non-Blocking Execution - Provides asynchronous API paths to perform computationally expensive password hashing without blocking the JavaScript event loop.
  • Zero-Dependency Libraries - Functions as a standalone module with no external dependencies to reduce security overhead and installation complexity.
  • Cryptography and Security - Optimized, zero-dependency bcrypt implementation.

Star history

Star history chart for dcodeio/bcrypt.jsStar history chart for dcodeio/bcrypt.js

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Bcrypt.js

Similar open-source projects, ranked by how many features they share with Bcrypt.js.
  • kelektiv/node.bcrypt.jskelektiv avatar

    kelektiv/node.bcrypt.js

    7,801View on GitHub↗

    This is a bcrypt password hashing library and cryptography module for Node.js. It provides a toolset for generating secure salts, computing cryptographically strong hashes, and verifying passwords to protect user credentials from unauthorized access. The library implements adaptive hashing, utilizing a configurable cost factor to increase the computational effort required to brute-force passwords. It includes a password verification tool that protects the comparison process from timing attacks. The project covers secure password hashing and salt generation, as well as utilities for hash cost

    C++
    View on GitHub↗7,801
  • ncb000gt/node.bcrypt.jsncb000gt avatar

    ncb000gt/node.bcrypt.js

    7,800View on GitHub↗

    This is a Node.js library for securely hashing and verifying passwords using the bcrypt adaptive hashing algorithm. It functions as a password security module that transforms plain-text credentials into protected hashes and generates cryptographically secure salts. The implementation allows for the adjustment of computational cost to resist brute-force attacks. It provides utilities for password hash verification and the extraction of hash metadata to determine the number of encryption rounds used. The project covers a range of security and access control capabilities, including credential s

    C++
    View on GitHub↗7,800
  • binarylogic/authlogicbinarylogic avatar

    binarylogic/authlogic

    4,343View on GitHub↗

    Authlogic is a Ruby authentication framework designed to manage user identities, session persistence, and secure password hashing. It provides a system for verifying user credentials against stored records using configurable identity fields. The framework distinguishes itself through its provider-based identity integration, allowing applications to connect authentication flows to external services including OAuth, OpenID Connect, LDAP, and various social media platforms. It also includes an extensibility model that executes custom user-defined code via hooks and callbacks during identity veri

    Ruby
    View on GitHub↗4,343
  • oliver-moran/jimpoliver-moran avatar

    oliver-moran/jimp

    14,621View on GitHub↗

    Jimp is a JavaScript image processing library and Node.js manipulation tool designed to perform image transformations and edits entirely within a JavaScript environment. It is a zero-dependency image library that operates without requiring native binaries or external system software dependencies. The project provides a programmatic interface for automated image transformations, including resizing, cropping, and filtering. It supports the creation of custom image pipelines and server-side image editing by processing data without relying on native system tools.

    TypeScript
    View on GitHub↗14,621
See all 30 alternatives to Bcrypt.js→

Frequently asked questions

What does dcodeio/bcrypt.js do?

bcrypt.js is a portable JavaScript implementation of the bcrypt algorithm used for securely hashing and verifying user passwords. It functions as a credential security utility that protects stored passwords against brute-force attacks through the use of salts and configurable work factors.

What are the main features of dcodeio/bcrypt.js?

The main features of dcodeio/bcrypt.js are: Bcrypt Implementations, Pure JavaScript Implementations, Password Hashing Utilities, Cryptographic Salt Generation, Password Verification, Work Factor Iteration Controls, Cross-Runtime Cryptography, Credential Security and Utilities.

What are some open-source alternatives to dcodeio/bcrypt.js?

Open-source alternatives to dcodeio/bcrypt.js include: kelektiv/node.bcrypt.js — This is a bcrypt password hashing library and cryptography module for Node.js. It provides a toolset for generating… ncb000gt/node.bcrypt.js — This is a Node.js library for securely hashing and verifying passwords using the bcrypt adaptive hashing algorithm. It… binarylogic/authlogic — Authlogic is a Ruby authentication framework designed to manage user identities, session persistence, and secure… oliver-moran/jimp — Jimp is a JavaScript image processing library and Node.js manipulation tool designed to perform image transformations… jimp-dev/jimp — Jimp is a zero-dependency JavaScript image processing library and programmatic editor designed for manipulating,… madhums/node-express-mongoose-demo — This project is a reference implementation of a full-stack web application and server-side rendered blog. It…