puregardenia

Results 11 comments of puregardenia

You can change you code like this: [https://github.com/guo-yu/gbk/pull/6/commits/a8a1a03123522bc689b10fb7fc939b3a5a92eff0](https://github.com/guo-yu/gbk/pull/6/commits/a8a1a03123522bc689b10fb7fc939b3a5a92eff0) Or you can push the following code to the end. ``` module.exports = Page ```

@guo-yu the npm is not the lastest! It could be an error :[https://github.com/guo-yu/gbk/issues/3#issue-135038456](https://github.com/guo-yu/gbk/issues/3#issue-135038456)

You can rewrite the RSAKey.prototype.decrypt method, change doPrivate to doPublic, and then modify the pkcs1unpad2 method to remove the second input parameter and related processing logic. It works for me!

You can rewrite the `RSAKey.prototype.decrypt` method, change `doPrivate` to `doPublic`, and then modify the pkcs1unpad2 method to remove the second input parameter and related processing logic. It works for me!