Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../var/softacul.../x2
File: getkey.php
<?php
[0] Fix | Delete
[1] Fix | Delete
if(function_exists('openssl_random_pseudo_bytes')){
[2] Fix | Delete
$EncryptionIV = __genIV();
[3] Fix | Delete
$EncryptionKEY = __genKey();
[4] Fix | Delete
}
[5] Fix | Delete
[6] Fix | Delete
echo '<Encryptioniv>'.$EncryptionIV.'</Encryptioniv>';
[7] Fix | Delete
echo '<Encryptionkey>'.$EncryptionKEY.'</Encryptionkey>';
[8] Fix | Delete
[9] Fix | Delete
function __genKey($length = 32){
[10] Fix | Delete
$key = openssl_random_pseudo_bytes($length, $strong);
[11] Fix | Delete
return ($strong ? $key : false);
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
function __genIV() {
[15] Fix | Delete
$nonceSize = openssl_cipher_iv_length('aes-256-ctr');
[16] Fix | Delete
return openssl_random_pseudo_bytes($nonceSize);
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
?>
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function