UNPKG

svelte-guardian

Version:

Batteries included authentication for SvelteKit applications.

11 lines (10 loc) 391 B
export declare class EncryptionUtilities { private static algorithm; private static ivLength; private static saltLength; private static tagLength; private static deriveKey; static encrypt(data: string, password: string): Promise<string>; static decrypt(encryptedData: string, password: string): Promise<string>; static generateKey(length?: number): string; }