Exemplo n.º 1
0
 public function jcryption()
 {
     $path = Manager::getAppPath('conf');
     $pathPUB = $path . '/rsa_1024_pub.pem';
     $pathPVT = $path . '/rsa_1024_priv.pem';
     $jc = new jcryption($pathPUB, $pathPVT);
     $jc->go();
     header('Content-type: text/plain');
     print_r($_POST);
     die;
 }
Exemplo n.º 2
0
 function __construct($public_key_file, $private_key_file)
 {
     parent::__construct($public_key_file, $private_key_file);
 }