cubetiq-crypto-js/dist/crypto/crypto.d.ts
2022-02-14 19:05:24 +07:00

11 lines
349 B
TypeScript

/// <reference types="node" />
import { CryptoProvider } from "./provider.crypto"
export declare class Crypto {
private readonly provider
constructor(provider: CryptoProvider)
encrypt(data: string | Buffer): string
decrypt(data: string): string
private static _instance
static newInstance(provider: CryptoProvider): Crypto
}