Bitcoin uses this principle to mine coins, where the challenge string of a block is the hash of the previous block in the chain, and the difficulty of the challenge is adjusted every two weeks to keep the average solve time close to 10 minutes.