|
@@ -245,7 +245,7 @@ class GmService
|
|
|
{
|
|
|
//php_SM2Decrypt 接收密文值是c1c3c2格式,若对方给的密文值是DER格式 则通过如下方式转换,然后再传入接口解密
|
|
|
$recode = php_SM2FormatConvert(101, $data, $c1c3c2);
|
|
|
- dump("recode:$recode");
|
|
|
+ dump($recode);
|
|
|
exit();
|
|
|
//解密
|
|
|
$recode = php_SM2Decrypt($c1c3c2, $plain, $privkey);
|