- 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==";
$data="e79c4da4f94b86cba5a81ba39fed083dbaf8bce5";
$key=base64_encode($data);
$msg='felicitation'.decrypt(base64_decode($Validation),$key);
echo $msg;