generated from cubetiq/ts-project
12 lines
285 B
TypeScript
12 lines
285 B
TypeScript
|
/// <reference types="node" />
|
||
|
declare const encrypt: (
|
||
|
data: string | Buffer,
|
||
|
privateOrPublicKey: string
|
||
|
) => string
|
||
|
declare const decrypt: (
|
||
|
data: string | Buffer,
|
||
|
privateKey: string,
|
||
|
passphrase?: string | null | undefined
|
||
|
) => string
|
||
|
export { encrypt, decrypt }
|