![]() |
|
"be consistent" | |
PerlMonks |
Re: Crypt::CBC and verifying passwordsby Belgarion (Chaplain) |
on May 19, 2004 at 17:56 UTC ( [id://354698]=note: print w/replies, xml ) | Need Help?? |
There doesn't appear to be anything wrong with the code you presented. I just tried it by setting $password and $dbpw to the same value, and the encrypted values are both the same. I would image the problem is either in the database retrieval routine or the comparison routine. Perhaps you can provide more code or a more detailed explanation.
In Section
Seekers of Perl Wisdom
|
|