UNPKG

prisma-encrypter

Version:

Lightweight encryption solution for Prisma

8 lines 584 B
import 'reflect-metadata'; import { IEncrypterModel, IEncrypterOptions } from '../ressources/options'; export declare function encryptionMiddleware(options: IEncrypterOptions | string): any; export declare function encryptModels(models: IEncrypterModel[]): void; export declare function encryptModel(model: IEncrypterModel): void; export declare function manualEncrypt(value: string, key?: string, iv?: string, algorithm?: string): string; export declare function manualDecrypt(value: string, key?: string, iv?: string, algorithm?: string): string; //# sourceMappingURL=index.d.ts.map