@vitaeflow/sdk-js
Version:
Official JavaScript/TypeScript SDK for VitaeFlow - Embed and extract structured resume data from PDFs
19 lines • 512 B
TypeScript
/**
* Cross-platform SHA-256 hashing
*/
export declare class HashUtil {
/**
* Calculate SHA-256 hash of data
* Works in both Node.js and browser environments
*/
static sha256(data: string | Uint8Array): Promise<string>;
/**
* SHA-256 using Web Crypto API
*/
private static webCryptoSha256;
/**
* Verify data against expected hash
*/
static verify(data: string | Uint8Array, expectedHash: string): Promise<boolean>;
}
//# sourceMappingURL=hash.d.ts.map