On 8/10/06, Jonas <[EMAIL PROTECTED]> 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.

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to