UNPKG

hscrypt

Version:

Encrypt Javascript bundles (at build time), inject+decrypt them into pages later (in the browser)

5 lines (4 loc) 232 B
export declare const LOCALSTORAGE_PREFIX = "hscrypt.secret:"; export declare function getLocalStorageKey(): string; export declare function getCachedDecryptionKey(): string; export declare function clearCachedDecryptionKey(): void;