Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public static function encrypt($zg) { if (MoUserProvUtility::is_extension_in..
Decoded Output download
<? public static function encrypt($zg)
{
if (MoUserProvUtility::is_extension_installed("openssl")) {
goto y8;
}
return;
y8:
$aR = get_option("mo_user_prov_token_key");
$HU = "AES-128-ECB";
$iZ = openssl_cipher_iv_length($HU);
$kd = openssl_random_pseudo_bytes($iZ);
$I0 = openssl_encrypt($zg, $HU, $aR, OPENSSL_RAW_DATA || OPENSSL_ZERO_PADDING, $kd);
return base64_encode($kd . $I0);
} ?>
Did this file decode correctly?
Original Code
public static function encrypt($zg)
{
if (MoUserProvUtility::is_extension_installed("\x6f\x70\x65\x6e\163\163\x6c")) {
goto y8;
}
return;
y8:
$aR = get_option("\x6d\x6f\x5f\x75\x73\x65\x72\137\160\162\157\x76\137\164\157\x6b\145\x6e\137\x6b\x65\x79");
$HU = "\x41\x45\x53\55\61\62\70\x2d\x45\103\102";
$iZ = openssl_cipher_iv_length($HU);
$kd = openssl_random_pseudo_bytes($iZ);
$I0 = openssl_encrypt($zg, $HU, $aR, OPENSSL_RAW_DATA || OPENSSL_ZERO_PADDING, $kd);
return base64_encode($kd . $I0);
}
Function Calls
None |
Stats
MD5 | ae4029cdd284e47b006be047b159a16d |
Eval Count | 0 |
Decode Time | 74 ms |