[Catalyst] Storing a password hash with DBIC

Christopher H. Laco claco at chrislaco.com
Thu Aug 10 17:05:56 CEST 2006


Jonas wrote:
> 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

http://search.cpan.org/dist/DBIx-Class-DigestColumns/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060810/9ccbed0d/attachment.pgp 


More information about the Catalyst mailing list