sha256Hash function

Digest sha256Hash(
  1. List<int> input
)

Computes the SHA-256 hash of the given input input.

  • input: The input bytes to hash.

Returns a Digest representing the SHA-256 hash.

Implementation

Digest sha256Hash(List<int> input) {
  return sha256.convert(input);
}