BSD Ports

security/ruby-bcrypt 3.1.22 NetBSD

OpenBSD's bcrypt() password hashing algorithm for Ruby

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
security, ruby
Package size
101.5 KiB, 326.0 KiB installed

Description

bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling passwords.

= bcrypt-ruby

An easy way to keep your users' passwords secure.

* http://bcrypt-ruby.rubyforge.org/ * http://github.com/codahale/bcrypt-ruby/tree/master

== Why you should use bcrypt

If you store user passwords in the clear, then an attacker who steals a copy of your database has a giant list of emails and passwords. Some of your users will only have one password - for their email account, for their banking account, for your application. A simple hack could escalate into massive identity theft.

It's your responsibility as a web developer to make your web application secure

  • blaming your users for not being security experts is not a professional response to risk.

bcrypt allows you to easily harden your application against these kinds of attacks.

Install

Binary package:

pkgin install ruby33-bcrypt

From pkgsrc:

cd /usr/pkgsrc/security/ruby-bcrypt && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-bcrypt-3.1.22, ruby40-bcrypt-3.1.22