This worked fine until I upgraded from RC1 to RC7. Something has changed and now my Perl scripts no longer function.
The Perl code for converting password input to MD5 encryption looks like this:
Code: Select all
my $md5 = Digest::MD5->new;
$md5->add($data{password});
$password = $md5->hexdigest;
Here are before and after values for the SAME encrypted password:
Old (RC1): 7fac4455e59a7ac01e13366e201134f5
New (RC7): $H$7mcRc/ahQU28ZECkgvH9JmUmbBlmWg1
My question: How can I use Perl to convert a password to the new encryption format?
Thanks!