parenth
Results
issues of
parenth
对方使用sm2对数据进行加密,我在收到数据后用PHP对数据进行解密为null PHP使用sm2解密方式如下: $ivlen = openssl_cipher_iv_length("sms4"); $iv = openssl_random_pseudo_bytes($ivlen); openssl_open($sealed, $opened, $pubkey, $prikey, "sms4", $iv); $opened为空,是否解密方式使用有问题?