bcrypt-ruby/bcrypt-ruby
bcrypt-ruby is a Ruby binding for the OpenBSD bcrypt() password hashing algorithm, allowing you to easily store a secure hash of your users' passwords. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 88
- Release rhythm 63
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 77
- age_days: 6692
- days_rel: 168
- days_push: 75
- n_releases_24m: 2
Adoption not part of the score
1994 stars · 290 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
bcrypt-ruby is a Ruby binding to the OpenBSD bcrypt() password hashing algorithm, provided as a gem with a native C extension. It lets developers securely hash and verify user passwords, and powers Rails' has_secure_password.
Use cases
- hash user passwords securely in a Ruby app
- verify passwords against bcrypt hashes
- implement authentication in Rails with has_secure_password
- store salted password hashes instead of plaintext
- configure bcrypt cost factor for slower hashing
When to choose
- you need battle-tested password hashing in Ruby or Rails
- you want a simple API for creating and checking bcrypt hashes
- you need cross-platform support including JRuby and Windows
When to avoid
- you need modern memory-hard hashing like Argon2id
- you are not working in Ruby
- you need general-purpose encryption rather than password hashing
Facets
library · maturity stable
cryptography auth security security backend web-development ruby jvm windows cross-platform password-hashing bcrypt ruby-gem rails native-extension linux macos
1 source
- readme: https://github.com/bcrypt-ruby/bcrypt-ruby · fetched 2026-08-28 · 53ed363bef67
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bcrypt-ruby/bcrypt-ruby | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="bcrypt-ruby/bcrypt-ruby")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem