UNPKG

hscrypt

Version:

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

7 lines (6 loc) 178 B
import { Source } from "./utils"; export declare function encrypt({ source, pswd, iterations, }: { source: Source; pswd: string; iterations?: number; }): Uint8Array;