hao-wang
hao-wang
this is great. it also fixed a problem for me in nodejs. I was passing a class variable and it won't work with eval. but works with this PR.
I found this is due to amount remaining isn't returned. The pool doesn't get enough liquidity. see below pr that fixes it. https://github.com/QuantSatoshi/v3-sdk/pull/1/files
this lib takes raw format. I would recommend using ursa lib to convert to pem file. if you store data in raw format, you can then decode it using same...
looks like you need to find some way to extra raw rsa components from der format. This lib doesn't do key format import or export. It mainly support encrypt &...
I don't understand how to encrypt with multiple pub key. Is it similar with doing this with a loop? It is probably not supported
Hi, I think the padding option is hard coded in the lib. I have to check and get back to you. You can either fork it change the default padding...
I provide my working code Make sure the string encrypting is smaller than your rsa key size ``` var key = ursa.createPrivateKey(fs.readFileSync(__dirname + '/key.pem'), process.env.APN_KEY_SECRET); var decryptRSA = function (encrypted,...
I have no luck with using NodeRSA either. I was able to use ursa to decrypt.