UNPKG

pagecrypt

Version:

Easily add client-side password-protection to your Single Page Applications, static websites and HTML files.

5 lines (4 loc) 269 B
/** Parse the given Base64 string and return the data as an Uint8Array */ export declare function parse(string: string): Uint8Array<ArrayBuffer>; /** Base64 encode the given Uint8Array and return a string */ export declare function stringify(data: Uint8Array): string;