@@ -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);