uawdijnntqw1x1x1
IP : 3.137.171.145
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.
/
.
/
.cphorde
/
..
/
.trash
/
system
/
library
/
encryption.php
/
/
<?php /** * @package OpenCart * @author Daniel Kerr * @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/) * @license https://opensource.org/licenses/GPL-3.0 * @link https://www.opencart.com */ /** * Encryption class */ final class Encryption { /** * * * @param string $key * @param string $value * * @return string */ public function encrypt($key, $value) { return strtr(base64_encode(openssl_encrypt($value, 'aes-128-cbc', hash('sha256', $key, true))), '+/=', '-_,'); } /** * * * @param string $key * @param string $value * * @return string */ public function decrypt($key, $value) { return trim(openssl_decrypt(base64_decode(strtr($value, '-_,', '+/=')), 'aes-128-cbc', hash('sha256', $key, true))); } }
/home/sudancam/././.cphorde/../.trash/system/library/encryption.php