Fatal error: Uncaught Error: Call to undefined function openssl_encrypt() in /in/th9Jm:8
Stack trace:
#0 /in/th9Jm(10): encrypt('This text will ...', 'mykey')
#1 {main}
thrown in /in/th9Jm on line 8
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /in/th9Jm on line 8
string(99) "Encrypted: MExJOHFya0ZUOFZTSjlRU1JybzlDbTZoZ01tendrYXYxbFZQQzI4U3Y5ampNQmxoSkhxUXdlaGQyS2JRbFdGQw,,"
string(48) "Decrypted: This text will encrypt using openssl!"