cubetiq-crypto-js/dist/crypto/core/e2e.crypto.d.ts

12 lines
285 B
TypeScript
Raw Normal View History

2022-02-14 16:15:32 +07:00
/// <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 }