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 declare(strict_types=1); /** * This file is part of CodeIgniter 4 framework. * ..
Decoded Output download
<?php
declare(strict_types=1);
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use Config\Encryption as EncryptionConfig;
class Encryption extends EncryptionConfig
{
private const HEX2BIN = 'hex2bin:84cf2c0811d5daf9e1c897825a3debce91f9a33391e639f72f7a4740b30675a2';
private const BASE64 = 'base64:Psf8bUHRh1UJYG2M7e+5ec3MdjpKpzAr0twamcAvOcI=';
public string $key;
public string $driver = 'MCrypt';
public function __construct(string $prefix = 'hex2bin')
{
if ($prefix === 'base64') {
$this->key = self::BASE64;
} else {
$this->key = self::HEX2BIN;
}
parent::__construct();
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use Config\Encryption as EncryptionConfig;
class Encryption extends EncryptionConfig
{
private const HEX2BIN = 'hex2bin:84cf2c0811d5daf9e1c897825a3debce91f9a33391e639f72f7a4740b30675a2';
private const BASE64 = 'base64:Psf8bUHRh1UJYG2M7e+5ec3MdjpKpzAr0twamcAvOcI=';
public string $key;
public string $driver = 'MCrypt';
public function __construct(string $prefix = 'hex2bin')
{
if ($prefix === 'base64') {
$this->key = self::BASE64;
} else {
$this->key = self::HEX2BIN;
}
parent::__construct();
}
}
Function Calls
None |
Stats
MD5 | cb0925d5ddb08dec8350727d5bbc1010 |
Eval Count | 0 |
Decode Time | 107 ms |