This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs-blog-newsletter/cronjob/node_modules/@aws-crypto/sha256-js/build/jsSha256.d.ts
2024-05-26 22:54:55 +02:00

12 lines
354 B
TypeScript

import { Checksum, SourceData } from "@aws-sdk/types";
export declare class Sha256 implements Checksum {
private readonly secret?;
private hash;
private outer?;
private error;
constructor(secret?: SourceData);
update(toHash: SourceData): void;
digestSync(): Uint8Array;
digest(): Promise<Uint8Array>;
reset(): void;
}