binarylogic/authlogic — pull request #330 by bensomers (2012-09-17 23:52:07+00:00)
Title: Scrypt support

Thought it might be nice if authlogic supported SCrypt! The code is very obviously modeled on the BCrypt provider. The one significant issue with it is that it doesn't support smooth cost-change-detection the same way BCrypt does; SCrypt has 5 tuning parameters, not just 1, and the scrypt gem doesn't provide great visibility to them to detect changes. Happy to try to come up with a solution for this in the future, might best be done with some simple changes to the scrypt gem to make it easier.

I also stumbled across, in reading over the CryptoProvider code, a fair number of simple typos; corrected those where I found them.

(note: I have no relationship to @pbhogan, the author of the scrypt gem.)