Björn f184cd7e2a | 4 years ago | |
---|---|---|
.. | ||
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago | |
test.js | 4 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.