<p>Assume I'm a miner. I would have the complete UTXO set with me. Let us say I try generating random keys and hash the public keys generated and compare it with the utxo set until I find a match.
When I find a match, I can transfer the money of that address to my own account since I would have the private key as I myself generated the key.
Why would this not work?
(I'm pretty new to bitcoin, so apologies if this is a stupid question)</p>

CC BY-SA 4.0
2021-07-03T12:05:11.787Z
What is your estimate of the expected time until the first success?
WillO
CC BY-SA 4.0
2021-07-04T09:39:53.560Z
Related: https://bitcoin.stackexchange.com/q/105180/13866
RedGrittyBrick
<private-key><public-key><utxo-set>
Why can't bitcoin be stolen in the following manner?
lolhahalol
# Why can't bitcoin be stolen in the following manner?

(Asked by: username_0 on 2021-07-03)

Assume I'm a miner. I would have the complete UTXO set with me. Let us say I try generating random keys and hash the public keys generated and compare it with the utxo set until I find a match.
When I find a match, I can transfer the money of that address to my own account since I would have the private key as I myself generated the key.
Why would this not work?
(I'm pretty new to bitcoin, so apologies if this is a stupid question)

**Tags:** private-key, public-key, utxo-set

> **Comments:**
> **username_1**: What is your estimate of the expected time until the first success?  
> **username_2**: Related: https://bitcoin.stackexchange.com/q/105180/13866  

---

## 0 answers

