/** * Pure JavaScript SHA-256 implementation * Conforms to the crypto-js API for drop-in replacement */ /** Hash result object with toString methods */ declare class HashResult { private bytes; constructor(bytes: number[]); /** Convert hash to hexadecimal string */ toString(encoding?: { stringify: (bytes: number[]) => string; }): string; } /** Hex encoding object (mimics crypto-js enc.Hex) */ export declare const Hex: { stringify: (bytes: number[]) => string; }; /** * Compute SHA-256 hash of a string * @param message - The message to hash * @returns HashResult object with toString method */ export declare function SHA256(message: string): HashResult; /** Encoding utilities (mimics crypto-js enc) */ export declare const enc: { Hex: { stringify: (bytes: number[]) => string; }; }; export {}; //# sourceMappingURL=sha_256.d.ts.map