index.d.mts 263 B

12345678910
  1. /**
  2. * Hashes a string using the SHA-256 algorithm and encodes it in Base64URL format.
  3. *
  4. * @param {string} message - The message to hash.
  5. *
  6. * @returns {string} The hash of the message.
  7. */
  8. declare function digest(message: string): string;
  9. export { digest };