?
Current Path : /var/softaculous/x2/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //var/softaculous/x2/getkey.php |
<?php if(function_exists('openssl_random_pseudo_bytes')){ $EncryptionIV = __genIV(); $EncryptionKEY = __genKey(); } echo '<Encryptioniv>'.$EncryptionIV.'</Encryptioniv>'; echo '<Encryptionkey>'.$EncryptionKEY.'</Encryptionkey>'; function __genKey($length = 32){ $key = openssl_random_pseudo_bytes($length, $strong); return ($strong ? $key : false); } function __genIV() { $nonceSize = openssl_cipher_iv_length('aes-256-ctr'); return openssl_random_pseudo_bytes($nonceSize); } ?>