<p>"Decrypting hashes" is not really a correct way to describe the calculation, and nobody "encrypts" them, which is probably why you could find no information on this notion.</p>

<p>The hashes that miners calculate are based on all the transactions on the network, metadata and previous block hashes.</p>

CC BY-SA 3.0
2013-08-19T21:56:08.463Z
How is hash generated?
Muhamed Krlić
CC BY-SA 3.0
2013-08-19T22:17:38.757Z
@l0oky: See https://en.bitcoin.it/wiki/Protocol_specification#Block_Headers. The miner simply takes all the data in the block header and hashes it, each time with a different nonce. When the nonces are exhausted, extraNonce is incremented which changes the Merkle Root.
Meni Rosenfeld
CC BY-SA 3.0
2013-08-19T21:37:06.227Z
2013-08-19T21:37:06.227Z
Meni Rosenfeld
<p><strong>Bitcoin miners decrypt hashes, but who or what encrypts them in the first place?</strong> After all, something must have encrypted it so that miners could find it.</p>

CC BY-SA 3.0
2013-08-20T17:24:33.193Z
I think you might be interested in reading this question:
http://bitcoin.stackexchange.com/questions/8031/what-are-bitcoin-miners-really-solving/8033#8033
Murch
<mining-theory>
Who/What generates Bitcoin Hashes to be mined?
Muhamed Krlić
# Who/What generates Bitcoin Hashes to be mined?

(Asked by: username_0 on 2013-08-19)

**Bitcoin miners decrypt hashes, but who or what encrypts them in the first place?** After all, something must have encrypted it so that miners could find it.

**Tags:** mining-theory

> **Comments:**
> **username_1**: I think you might be interested in reading this question: http://bitcoin.stackexchange.com/questions/8031/what-are-bitcoin-miners-really-solving/8033#8033  

---

## 1 answers

### Answer by username_2 on 2013-08-19. Score: 1

"Decrypting hashes" is not really a correct way to describe the calculation, and nobody "encrypts" them, which is probably why you could find no information on this notion.

The hashes that miners calculate are based on all the transactions on the network, metadata and previous block hashes.

> **Comments:**
> **username_0**: How is hash generated?  
> **username_2**: @l0oky: See https://en.bitcoin.it/wiki/Protocol_specification#Block_Headers. The miner simply takes all the data in the block header and hashes it, each time with a different nonce. When the nonces are exhausted, extraNonce is incremented which changes the Merkle Root.  

---

