Returns SHA-256 hash of data.
data
static Uint8List hash(Uint8List data) { return sha256.convert(data).bytes; }