in reply to Password Encryption

you can use Crypt::PasswdMD5 module
$encryptedPassword = &unix_md5_crypt($password, $salt);


Hotshot