hrjy %!s(int64=2) %!d(string=hai) anos
pai
achega
ca36a5905c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);