sha256 function

List<int> sha256(
  1. List<int> data
)

Calculate or SHA256 hash two dice data.

Implementation

List<int> sha256(List<int> data) {
  return crypto.sha256.convert(data).bytes;
}