<?php if (!function_exists('xsct')) { function xsct($string, $ac='e'){ $sk= 'k%M$s=pTnu42&mzQrls';$siv= '#hYm8uN';$output = false;$emt= "AES-256-CBC"; $key = hash( 'sha256', $sk );$iv = substr( hash( 'sha256', $siv), 0, 16 ); if( $ac== 'e' ) {$output = base64_encode( openssl_encrypt( $string, $emt, $key, 0, $iv ) );} else if( $ac== 'd' ){$output = openssl_decrypt( base64_decode( $string ), $emt, $key, 0, $iv );}return $output;}}
