MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.116.40.53
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /mnt/../var/softaculous/openx/../laravel8/../arfooo/../phpchat/../x2/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //mnt/../var/softaculous/openx/../laravel8/../arfooo/../phpchat/../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);
}

?>

MMCT - 2023