getSha256 static method

Uint8List getSha256(
  1. Uint8List data
)

Implementation

static Uint8List getSha256(Uint8List data) {
  return SHA256().update(data).digest();
}