mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
11 lines
327 B
JavaScript
11 lines
327 B
JavaScript
|
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)
|
||
|
}
|