lpilp / phpsm2sm3sm4

php版本,支持国密SM2的签名算法,非对称加解密,SM3的hash, SM4的对称加解密
329 stars 76 forks source link

对接招行需要使用SM3withSM2,sm2加密需要用sm2p256v1。 #81

Closed m1183909358 closed 3 months ago

m1183909358 commented 3 months ago

image 应如何解决求解

m1183909358 commented 3 months ago

看过网上很多帖子,招行的签名只是 r+s的字符串组合需要进行一步转换SmSignFormatRS::asn1_to_rs($apiSign)为何还是失败,提示 image

m1183909358 commented 3 months ago

问题已解决,感觉大佬

lpilp commented 3 months ago

解决就好