For encrypting passwords I'd look at
Crypt::Eksblowfish::Bcrypt. Anyway, please also describe what you're actually doing, I find it suspect when you say that
the encrypted password is sent (bold added by me).
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Io ho capito... ma tu che hai detto?