use Crypt::Simple (passphrase=>'myTestPhrase'); my $data = encrypt("Here we go"); print "Encrypted: $data\n"; use Crypt::Simple (passphrase=>'Another_tEst_Trial'); my $samething = decrypt($data); print "Decrypted: $samething\n";