Convert PHP openssl_encrypt and openssl_decrypt to GO language
I’m having a challenge converting the PHP openssl_* functions to GO language. I want to be able to encrypt a text using PHP and decrypt it using GO. This is the PHP functions encryption and decryption: