
Just like mining precious metals, crypto mining requires a great deal of computational power and energy. In return, miners earn rewards in the form of newly minted bitcoin and transaction fees.
To solve the puzzle, miner hardware quickly guesses many values in search of a number that produces a valid hash. This nonstop activity burns up a lot of CPU power and consumes lots of electricity, which is why hackers hijack computers to use them for crypto mining.