hrjy 2 years ago
parent
commit
414c6d6083
1 changed files with 1 additions and 0 deletions
  1. 1 0
      crmeb/services/GmService.php

+ 1 - 0
crmeb/services/GmService.php

@@ -230,6 +230,7 @@ class GmService
     {
     {
         //sm2加密
         //sm2加密
         php_SM2Encrypt($data, $cipher, $pubkey);
         php_SM2Encrypt($data, $cipher, $pubkey);
+        dump(function_exists('php_SM2Encrypt'));
         dump($cipher);
         dump($cipher);
         exit;
         exit;
         //php_SM2Encrypt接口返回的密文值是c1c3c2格式,以下示例转DER编码
         //php_SM2Encrypt接口返回的密文值是c1c3c2格式,以下示例转DER编码