- substr: documentation ( source)
- base64_decode: documentation ( source)
- base64_encode: documentation ( source)
- md5: documentation ( source)
<?php
function decrypt($str, $key)
{
$iv = substr( md5("hacker",true), 0, 8 );
return mcrypt_decrypt( MCRYPT_BLOWFISH, $key, $str, MCRYPT_MODE_CBC, $iv );
}
$Validation = "4/lOF/4ZMmdPxlFjZD63nA==";
$key = "e79c4da4f94b86cba5a81ba39fed083dbaf8bcd5";
$msg = $text['felicitation'].decrypt(base64_decode($Validation),$key);
echo base64_encode($msg);
?>