generated from cubetiq/ts-project
Add build and allow dist
This commit is contained in:
16
dist/crypto/provider/default.provider.d.ts
vendored
Normal file
16
dist/crypto/provider/default.provider.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/// <reference types="node" />
|
||||
import { ICryptoProvider } from "../provider.crypto"
|
||||
interface DefaultCryptoProviderOptions {
|
||||
key?: string | Buffer | null | undefined
|
||||
iv?: string | Buffer | null | undefined
|
||||
keyiVPath?: string | null | undefined
|
||||
jsonPath?: string | null | undefined
|
||||
}
|
||||
export declare class DefaultCryptoProvider implements ICryptoProvider {
|
||||
private _key
|
||||
private _iv
|
||||
constructor(options: DefaultCryptoProviderOptions)
|
||||
encrypt(data: string | Buffer): string
|
||||
decrypt(data: string): string
|
||||
}
|
||||
export {}
|
||||
Reference in New Issue
Block a user