Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace OTP\LicenseLibrary\Classes; if (defined("\x41\102\123\x50\101\x54\..
Decoded Output download
<?php
namespace OTP\LicenseLibrary\Classes;
if (defined("ABSPATH")) {
goto uyX;
}
exit;
uyX:
class Mo_AESEncryption
{
public static function encrypt_data($kT, $wI)
{
$wI = openssl_digest($wI, "sha256");
$N6 = "aes-128-ecb";
$cg = openssl_encrypt($kT, $N6, $wI, OPENSSL_RAW_DATA || OPENSSL_ZERO_PADDING);
return base64_encode($cg);
}
public static function decrypt_data($kT, $wI)
{
$HR = base64_decode($kT);
$wI = openssl_digest($wI, "sha256");
$N6 = "AES-128-ECB";
$ED = openssl_cipher_iv_length($N6);
$Ga = substr($HR, 0, $ED);
$kT = substr($HR, $ED);
$sR = openssl_decrypt($kT, $N6, $wI, OPENSSL_RAW_DATA || OPENSSL_ZERO_PADDING, $Ga);
return $sR;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace OTP\LicenseLibrary\Classes;
if (defined("\x41\102\123\x50\101\x54\110")) {
goto uyX;
}
exit;
uyX:
class Mo_AESEncryption
{
public static function encrypt_data($kT, $wI)
{
$wI = openssl_digest($wI, "\x73\150\141\x32\x35\66");
$N6 = "\141\x65\x73\55\x31\62\x38\55\x65\x63\x62";
$cg = openssl_encrypt($kT, $N6, $wI, OPENSSL_RAW_DATA || OPENSSL_ZERO_PADDING);
return base64_encode($cg);
}
public static function decrypt_data($kT, $wI)
{
$HR = base64_decode($kT);
$wI = openssl_digest($wI, "\163\150\141\62\65\x36");
$N6 = "\x41\105\x53\55\61\62\x38\55\x45\x43\x42";
$ED = openssl_cipher_iv_length($N6);
$Ga = substr($HR, 0, $ED);
$kT = substr($HR, $ED);
$sR = openssl_decrypt($kT, $N6, $wI, OPENSSL_RAW_DATA || OPENSSL_ZERO_PADDING, $Ga);
return $sR;
}
}
Function Calls
None |
Stats
MD5 | c3948410cc90bdaa9703bed842bc488b |
Eval Count | 0 |
Decode Time | 50 ms |