Crypt-CBC - New problem or not?

Posted on Thu Oct 19 20:30:44 2006 by additude
New problem or not?
I believe I had ver 2.15 installed and during some updates Crypt-CBC-2.21 was installed and it broke some things that I am trying fix, only I am not sure if they are really broken or I just need to change some things. Prior to the update I was able to create $ciphertext = $cipher->encrypt_hex($new_text); and for all instances where $new_text was the same the resulting $ciphertext was the same. But now for all instances of $new_text, $ciphertext is different. Is this the way it is supposed to be? Because I used this for password verification and verified encrypted strings, but now each encrypted string is different and I am concerned about now needing to decrypt a password in order to verify it. But is that what I have to do now? Also, my previous encryption strings do not work. I had to re-generate them. Is this also correct that I had to do this? And I couldn't find the parameters for -insecure_legacy_decrypt => '', is it like this,'', or 'YES' or 'enable' or...? Thanks.
Write a response