I'm writing some server code in PHP and I have an offline process written in Perl and they need to communicate via encrypted strings. In PHP I have been using:
$encrypted_string = openssl_encrypt($my_string, "aes-128-cbc", "my_password", true, "1234567812345678");
I'd basically like to achieve the exact same string output using Perl. Any help with how I would do this is appreciated. Thanks!