[Catalyst] Storing a password hash with DBIC

Jonas jonas.alves at gmail.com
Thu Aug 10 17:02:23 CEST 2006


Hi,
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?
I tried with deflate, but deflate only runs when the argument is a reference.
Then i tried with an HTML::Widget Filter but the filter runs before
the constraints, so the password failed to match with the confirm
field.
There are any other way of doing this without explicitly making the
hash in the insert and update methods?

Thanks,
--Jonas



More information about the Catalyst mailing list