generated from cubetiq/ts-project
Add build and allow dist
This commit is contained in:
17
dist/crypto/provider/e2e.provider.d.ts
vendored
Normal file
17
dist/crypto/provider/e2e.provider.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/// <reference types="node" />
|
||||
import { ICryptoProvider } from "../provider.crypto"
|
||||
interface E2ECryptoProviderOptions {
|
||||
privateKey?: string | Buffer | null | undefined
|
||||
publicKey?: string | Buffer | null | undefined
|
||||
privateKeyPath?: string | null | undefined
|
||||
publicKeyPath?: string | null | undefined
|
||||
jsonPath?: string | null | undefined
|
||||
}
|
||||
export declare class E2ECryptoProvider implements ICryptoProvider {
|
||||
private privateKey
|
||||
private publicKey
|
||||
constructor(options: E2ECryptoProviderOptions)
|
||||
encrypt(data: string | Buffer): string
|
||||
decrypt(data: string): string
|
||||
}
|
||||
export {}
|
||||
Reference in New Issue
Block a user