• Computes the SHA-256 hash of the input text.

    Parameters

    • text: string

      The input text to hash.

    Returns Promise<string>

    A promise that resolves to the SHA-256 hash of the text in hexadecimal format.