UNPKG

svelte-kit-cookie-session-patch

Version:

⚒️ Encrypted 'stateless' cookie sessions for SvelteKit

4 lines (3 loc) 227 B
import type { BinaryLike } from "./types"; export declare function encrypt(encryptionKey: BinaryLike): (text: string) => string; export declare function decrypt(encryptionKey: BinaryLike): (encrypted_string: string) => string;