You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

browser.js 327B

12345678910
  1. exports.publicEncrypt = require('./publicEncrypt')
  2. exports.privateDecrypt = require('./privateDecrypt')
  3. exports.privateEncrypt = function privateEncrypt (key, buf) {
  4. return exports.publicEncrypt(key, buf, true)
  5. }
  6. exports.publicDecrypt = function publicDecrypt (key, buf) {
  7. return exports.privateDecrypt(key, buf, true)
  8. }