export interface SimpleHash { update(data: Buffer): SimpleHash | Promise; digest(): Buffer | Promise; }