Uint8List hash160(Uint8List buffer) { Uint8List tmp = SHA256Digest().process(buffer); return RIPEMD160Digest().process(tmp); }