UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

14 lines (13 loc) 419 B
import type { Checksum, SourceData } from "@smithy/types"; /** * @internal */ export declare class Hash implements Checksum { private readonly algorithmIdentifier; private readonly secret?; private hash; constructor(algorithmIdentifier: string, secret?: SourceData); update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void; digest(): Promise<Uint8Array>; reset(): void; }