[Catalyst] Storing a password hash with DBIC
Nilson Santos Figueiredo Junior
acid06 at gmail.com
Thu Aug 10 17:07:26 CEST 2006
On 8/10/06, Jonas <jonas.alves at gmail.com> wrote:
> I'm trying to store an hashed password in a database using DBIC. What
> is the best way to create the digest of the password?
When checking the password (e.g. during login)
Catalyst::Plugin::Authentication should handle this task for you. When
storing the password, I usually just call sha1() (or md5() or whatever
digest algorithm you choose) manually when creating the new user or
changing the user password.
-Nilson Santos F. Jr.
More information about the Catalyst
mailing list