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