site-panzai/node_modules/ohash/dist/crypto/node/index.d.mts
2026-11-13 13:57:04 +01:00

9 lines
No EOL
253 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 };