@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
9 lines (8 loc) • 352 B
TypeScript
import { Resource } from '../type';
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;
}