shuba_ivan

Untitled

Nov 22nd, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.56 KB | None | 0 0
  1.         $fp=fopen ("/home/ivan/host/civilsbudget/cert.pem", "r");
  2.         $pub_key=fread ($fp,8192);
  3.         fclose($fp);
  4.         openssl_get_publickey ($pub_key);
  5.         $base = base64_decode($data['customer']['addresses'][0]['country']); //B�� a��"
  6. ���X�l��6LZ��h���޵L��� FѬ\�󜦥:Z��UVU�׆�fw\�&aU���H���>�U6e���lX\����ɋ.0-�T�@z����B����h��
  7.         $decrypt = openssl_public_decrypt ($base, $result , $pub_key);
  8.         $result;//$result = null
Advertisement
Add Comment
Please, Sign In to add comment