Files
Tiber365/node_modules/ohash/dist/crypto/node/index.d.mts
2025-07-24 18:46:24 +02:00

11 lines
255 B
TypeScript

/**
* 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 };