@loaders.gl/crypto
Version:
Cryptographic/hashing plugins for loaders.gl
15 lines • 433 B
TypeScript
import { Hash } from "./hash.js";
/**
* A transform that calculates MD5 hashes, passing data through
*/
export declare class MD5Hash extends Hash {
readonly name = "md5";
readonly options: any;
constructor(options?: {});
/**
* Atomic hash calculation
* @returns base64 encoded hash
*/
hash(input: ArrayBuffer, encoding: 'hex' | 'base64'): Promise<string>;
}
//# sourceMappingURL=md5-hash.d.ts.map