in reply to MD5 /etc/passwd-style hashes?

use Crypt::PasswdMD5;