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 /** * This file contains the class which is useful to generate certificate. * ..
Decoded Output download
<?php
/**
* This file contains the class which is useful to generate certificate.
*
* @link https://plugins.miniorange.com
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
class CertificateUtility
{
public static function generate_certificate($cI, $LG, $YR)
{
$IL = openssl_pkey_new();
$rZ = openssl_csr_new($cI, $IL, $LG);
$dd = openssl_csr_sign($rZ, null, $IL, $YR, $LG, time());
openssl_csr_export($rZ, $rF);
openssl_x509_export($dd, $ZB);
openssl_pkey_export($IL, $qR);
$kh = array("public_key" => $ZB, "private_key" => $qR);
return $kh;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file contains the class which is useful to generate certificate.
*
* @link https://plugins.miniorange.com
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
class CertificateUtility
{
public static function generate_certificate($cI, $LG, $YR)
{
$IL = openssl_pkey_new();
$rZ = openssl_csr_new($cI, $IL, $LG);
$dd = openssl_csr_sign($rZ, null, $IL, $YR, $LG, time());
openssl_csr_export($rZ, $rF);
openssl_x509_export($dd, $ZB);
openssl_pkey_export($IL, $qR);
$kh = array("\160\165\142\154\x69\x63\137\x6b\145\171" => $ZB, "\160\x72\x69\166\141\164\145\x5f\x6b\145\x79" => $qR);
return $kh;
}
}
Function Calls
None |
Stats
MD5 | c24f87f68dda31bd2a97d5a78c4871f1 |
Eval Count | 0 |
Decode Time | 89 ms |