hrjy 2 anni fa
parent
commit
ca36a5905c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      crmeb/services/GmService.php

+ 2 - 0
crmeb/services/GmService.php

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