9 lines
298 B
9 lines
298 B
import publicEncryptInternal from "./publicEncrypt";
|
|
import privateDecryptInternal from "./privateDecrypt";
|
|
|
|
export function privateEncrypt(key, buf) {
|
|
return publicEncryptInternal(key, buf, true);
|
|
}
|
|
export function publicDecrypt(key, buf) {
|
|
return privateDecryptInternal(key, buf, true);
|
|
}
|