Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
benatkin
on June 26, 2011
|
parent
|
context
|
favorite
| on:
MtGox salted passwords cracked
Yeah, it's pretty easy to change this in Devise, a popular auth library for rails that uses bcrypt by default, and to have a custom value to speed up unit tests:
https://github.com/plataformatec/devise/wiki/Speed-up-your-u...
config.stretches = Rails.env.test? ? 1 : 10
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
config.stretches = Rails.env.test? ? 1 : 10