Your IP : 216.73.216.209


Current Path : /usr/share/nodejs/public-encrypt/
Upload File :
Current File : //usr/share/nodejs/public-encrypt/browser.js

exports.publicEncrypt = require('./publicEncrypt')
exports.privateDecrypt = require('./privateDecrypt')

exports.privateEncrypt = function privateEncrypt (key, buf) {
  return exports.publicEncrypt(key, buf, true)
}

exports.publicDecrypt = function publicDecrypt (key, buf) {
  return exports.privateDecrypt(key, buf, true)
}