sha256 function

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

Implementation

List<int> sha256(List<int> bytes) {
  return new SHA256Digest().process(Uint8List.fromList(bytes)).toList();
}