• Calculates the SHA256 hash of a file.

    Parameters

    • filePath: string

      The path to the file.

    Returns string

    The SHA256 hash of the file as a hexadecimal string.