TreasureTrails/node_modules/ohash/dist/crypto/node/index.d.mts

11 lines
255 B
TypeScript
Raw Normal View History

2026-03-18 09:02:21 -05:00
/**
* Hashes a string using the SHA-256 algorithm and encodes it in Base64URL format.
*
* @param {string} data - data message to hash.
*
* @returns {string} The hash of the data.
*/
declare function digest(data: string): string;
export { digest };