Compute the SHA-256 digest of a buffer and return it as a lowercase hex string.
The data to hash.
The 64-character lowercase hex-encoded digest.
FileTransferError with code FT_INVALID_STATE if SubtleCrypto is unavailable in the current environment.
FT_INVALID_STATE
Compute the SHA-256 digest of a buffer and return it as a lowercase hex string.