Outlook_Addin_LLM/node_modules/cryptr/index.d.ts

13 lines
275 B
TypeScript
Raw Permalink Normal View History

declare class Cryptr {
constructor(
secret: string,
options?: { pbkdf2Iterations?: number; saltLength?: number; encoding?: 'hex' | 'base64' | 'latin1' },
);
encrypt(value: string): string;
decrypt(value: string): string;
}
export = Cryptr;