in reply to encrypt / decrypt?
CPAN has a couple of encryption modules like Crypt::CBC or Crypt::Blowfish, you may test them
citromatik