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

13 lines
327 B
TypeScript
Raw Normal View History

2022-02-14 16:15:32 +07:00
/// <reference types="node" />
declare const encrypt: (
data: string | Buffer,
key: string | Buffer,
iv?: string | Buffer | null | undefined
) => string
declare const decrypt: (
data: string | Buffer,
key: string | Buffer,
iv?: string | Buffer | null | undefined
) => string
export { encrypt, decrypt }