@ 2016-01-10T14:50:27Z <?php
$consumer_key = '15102ae1bd15946317d6bc2aa980f00e';
$private_key = '8aa6278625c27ad152fcb13db2cebbba';
$params = array(
'cost' => 0.15,
'cost_model' => 'cpi'
);
$mcrypt_iv = substr($consumer_key, 0, 16);
$query_str = http_build_query($params);
$enc_raw = mcrypt_encrypt( MCRYPT_RIJNDAEL_128, $private_key, $query_str, 'cbc', $mcrypt_iv);
$enc_str = bin2hex( $enc_raw );
echo $enc_str ;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.6 - 7.0.20 , 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.16 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/NL9GY:13
Stack trace:
#0 {main}
thrown in /in/NL9GY on line 13
Process exited with code 255 . Output for 5.5.24 - 5.5.34 , 5.6.8 - 5.6.20 , 7.0.0 - 7.0.5 7854a4e72c2cc70506e725d9809b408500118c544ef20005364cf669a58b4631 Output for 5.5.35 , 5.6.21 - 5.6.28 Fatal error: Call to undefined function mcrypt_encrypt() in /in/NL9GY on line 13
Process exited with code 255 . preferences:dark mode live preview
170.68 ms | 402 KiB | 182 Q