Uint8List sha256(List<int> data) { sha256Hash.reset(); return sha256Hash.process(Uint8List.fromList(data)); }