qmetrics.net

Bcrypt Ruby

Ruby bindings for OpenBSD bcrypt password hashing

Application SecurityDesktop/CLI app

bcrypt-ruby wraps the OpenBSD bcrypt algorithm so Ruby applications can store and verify secure password hashes.

Overview

bcrypt-ruby is a Ruby gem that binds the OpenBSD bcrypt() password hashing function. It lets web applications store one-way password digests instead of plaintext secrets, reducing damage if a database is copied.

The library automatically generates and stores salts with hashes. Salts defeat precomputed rainbow tables by forcing attackers to hash guesses per salt. bcrypt() is deliberately slow compared with fast digests like MD5, shrinking how many guesses an attacker can test per second. You can raise the cost factor as machines get faster while old hashes remain valid.

The default cost factor is 12, which suits session-based authentication; stateless schemes such as HTTP Basic Auth may use a lower cost to limit server load. BCrypt::Password and related APIs cover creating accounts and authenticating users; Rails 3 and later ship ActiveModel::SecurePassword built on bcrypt-ruby.

The gem installs on JRuby, Windows RubyInstaller builds with DevKit, and typical BSD, macOS, and Linux systems with a compiler. bcrypt() is the default password storage approach in OpenBSD.

Key features

  • OpenBSD bcrypt algorithm binding
  • Automatic per-password salts
  • Adjustable work cost factor
  • BCrypt::Password hash objects
  • Rails SecurePassword integration
  • JRuby and CRuby support
  • Windows RubyInstaller compatibility
  • Slow hashing against brute force

Use cases

  • Storing user passwords in Ruby web apps
  • Authenticating login credentials safely
  • Rails applications using has_secure_password
  • Increasing hash cost over time
  • Replacing fast insecure password digests

Similar software

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Hackingtool

AI-guided terminal toolkit for authorized security testing

Hackingtool bundles many security utilities in one console with optional AI help to pick tools and commands. It targets Linux and macOS and is meant for authorized testing only.

★ 82.2k⟳ 28 days agoMIT
Application SecurityDesktop/CLI app

Strix

AI-driven penetration testing for developers

Strix runs autonomous AI agents that probe applications like attackers, validate issues with proofs of concept, and integrate into CLI and CI workflows.

★ 78k⟳ todayApache-2.0
AI Security & PrivacyDesktop/CLI app
Open Source Alternative to:XBOW

Magisk

Android customization suite with root and modules

Magisk is open source software for tailoring Android 7.0 and newer devices. It provides root access, systemless module installs, boot image tools, and per-app code injection via Zygisk.

★ 64.4k⟳ 4 days agoGPL-3.0
AutomationDesktop/CLI app

Shannon

Autonomous AI penetration tester for web apps and APIs

Shannon analyzes web application source code, plans attack paths, and runs real exploits against staging targets. Only vulnerabilities confirmed with a working proof of concept appear in reports.

★ 52.4k⟳ 2 days agoAGPL-3.0
Open Source Alternative to:XBOW

acme.sh

POSIX shell client for ACME SSL automation

acme.sh issues, renews, and installs SSL and TLS certificates via the ACME protocol using a single shell script with no Python dependency.

★ 48k⟳ 9 days agoGPL-3.0
Build & DeploymentDesktop/CLI app