Uint8List hash256(Uint8List buffer) { Uint8List _tmp = SHA256Digest().process(buffer); return SHA256Digest().process(_tmp); }