- Output for 5.6.0 - 5.6.28, 7.0.0 - 7.0.13
- Parse error: syntax error, unexpected '$password' (T_VARIABLE) in /in/8basv on line 3
Process exited with code 255.
<?php
$string = "5c7Zms7hW3y4e4gOCOjzfg=="
$password = "glop";
$method = "aes-192-cfb8";
$decrypted = openssl_decrypt($encrypted, $method, $password);
echo "$decrypted";
// Outputs: OeOiTWcgIPC1xIZaDJ3XTEaY/D4m1sQmxgPbzjxxlRA= => This is a readable string.
?>