lihai 8d6c751f49 feat: push | 2 years ago | |
---|---|---|
.. | ||
.travis.yml | 2 years ago | |
LICENSE | 2 years ago | |
index.js | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 years ago | |
test.js | 2 years ago |
RSA private decryption/signing using chinese remainder and blinding.
Give it a message as a buffer and a private key (as decoded by https://www.npmjs.com/package/parse-asn1) and it returns encrypted data as a buffer.