UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

13 lines 526 B
import { Resource } from '../type'; /** * IntegrityClient provides fingerprinting and integrity generation for resources * This implements the Fingerprint operation */ export declare class IntegrityClient { fingerprint(resource: Resource, algo?: string): Promise<Resource>; generateIntegrity(content: string): string; generateSHA384(content: string): string; generateSHA512(content: string): string; verifyIntegrity(content: string, integrity: string): boolean; } //# sourceMappingURL=integrity.d.ts.map