11 lines
255 B
TypeScript
Raw Normal View History

2026-05-31 13:21:13 +02: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 };