sha256SumStr static method

List<int> sha256SumStr(
  1. String input
)

This function returns the bytes instead of a hash string

Implementation

static List<int> sha256SumStr(String input) {
  return sha256.convert(utf8.encode(input)).bytes;
}