in reply to Crypt::CBC and verifying passwords
I have used Crypt::CBC with Crypt::Blowfish in an application I am currently working on. I found that the result produced by encrpyting the same value on successive occassions did not match.
It seems from your comments you are storing an unecrypted password and encrypting it for comparison. This won't work, well not if you are using Blowfish or similar. I think you would need to decrypt for comparison, thats where I ended up.
Mind you, I did not investigate in depth, I found the problem and had to make it work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Crypt::CBC and verifying passwords
by kutsu (Priest) on May 19, 2004 at 18:34 UTC |