mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 21:11:05 +03:30
11 lines
327 B
JavaScript
Vendored
11 lines
327 B
JavaScript
Vendored
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)
|
|
}
|