PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $string = $_GET["ciao"]; $key = $_GET["1234567890"]; //$iv = $_GET["12"]; $encrypt_method = 'AES-128-ecb'; $output = openssl_encrypt($string, $encrypt_method, $key); $output = base64_encode($output); echo $output; $string = base64_decode($output); $output2 = openssl_decrypt($output, $encrypt_method, $key); echo $output2; ?>
Show:  
Copy Clear