Closed ryiwu closed 1 year ago
执行$pc = new Prpcrypt($this->m_encodingAesKey); 再继续 $result = $pc->decrypt($encrypt, $this->m_corpId); 在继承下的Prpcrypt $this->key结果是null。
$pc = new Prpcrypt($this->m_encodingAesKey);
$result = $pc->decrypt($encrypt, $this->m_corpId);
我自己每次new Prpcrypt 后,继续$pc->key = base64_decode($this->m_encodingAesKey. "=");才可以
$pc->key = base64_decode($this->m_encodingAesKey. "=");
暂不考虑该场景,推荐采用 Stream Mode 接入
执行
$pc = new Prpcrypt($this->m_encodingAesKey);
再继续$result = $pc->decrypt($encrypt, $this->m_corpId);
在继承下的Prpcrypt $this->key结果是null。我自己每次new Prpcrypt 后,继续
$pc->key = base64_decode($this->m_encodingAesKey. "=");
才可以