UNPKG

incubed

Version:

Typescript-version of the incubed client

7 lines (6 loc) 279 B
/** * creates a IPFS-Hash from content * @param content */ export declare function createIPFSHash(content: Buffer, hashAlg?: string): Promise<string>; export declare function verifyIPFSHash(content: string | Buffer, encoding: string, requestedHash: string): Promise<boolean>;