Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
; encryptionKey = base64:NIsf5pzsAfqpmw7pZG5W4dBgfUow+WCmWQqmNB8HL5M= ; for production en..
Decoded Output download
<? ; encryptionKey = base64:NIsf5pzsAfqpmw7pZG5W4dBgfUow+WCmWQqmNB8HL5M= ; for production
encryptionKey = base64:OqabDPD1inDjJ7jtzepMzUVJkEINTK8IdjbIgD6lOHU= ; for develop
;
cipherMethod = AES-256-CBC
; IV
iv = your_ivkKfrJnHbr
//
$encryptionKey = $config->crypto->encryptionKey;
//
$cipherMethod = $config->crypto->cipherMethod;
// IV
$iv = $config->crypto->iv;
// $data(int)
if (!empty($data) && is_array($data)) {
foreach ($data as $key => $value) {
// $valuestring
if (is_string($value)) {
//
$data[$key] = openssl_encrypt($value, $cipherMethod, $encryptionKey, 0, $iv);
}
}
["name"]=>
string(88) "eVU4RjR5bXJsclRSZDU1cHhVcjFzeTZ1VmVLNWJNNi9rLzFjcTNGYjRYNFN1R2VEYkpJMzBDUVZSd1kzbnJJdw==" ?>
Did this file decode correctly?
Original Code
; encryptionKey = base64:NIsf5pzsAfqpmw7pZG5W4dBgfUow+WCmWQqmNB8HL5M= ; for production
encryptionKey = base64:OqabDPD1inDjJ7jtzepMzUVJkEINTK8IdjbIgD6lOHU= ; for develop
;
cipherMethod = AES-256-CBC
; IV
iv = your_ivkKfrJnHbr
//
$encryptionKey = $config->crypto->encryptionKey;
//
$cipherMethod = $config->crypto->cipherMethod;
// IV
$iv = $config->crypto->iv;
// $data(int)
if (!empty($data) && is_array($data)) {
foreach ($data as $key => $value) {
// $valuestring
if (is_string($value)) {
//
$data[$key] = openssl_encrypt($value, $cipherMethod, $encryptionKey, 0, $iv);
}
}
["name"]=>
string(88) "eVU4RjR5bXJsclRSZDU1cHhVcjFzeTZ1VmVLNWJNNi9rLzFjcTNGYjRYNFN1R2VEYkpJMzBDUVZSd1kzbnJJdw=="
Function Calls
None |
Stats
MD5 | 5d649e81705e615e58c50d52a0d51510 |
Eval Count | 0 |
Decode Time | 29 ms |