in reply to Non matching encrypted string
Abigail
Could it be that different seeds are being used?
There's no point to using CBC mode if the seeds are the same :)
So yes, the only way to do it is to check the passwords before encrypting. Which is what should have been done in the first place.
----I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident. -- Schemer
Note: All code is untested, unless otherwise stated