Generate nonce (random data) as salt to join to the data of block to be hash. The goal is to find a hash value that less than target. The target is influenced by difficulty. As the difficulty gets bigger and the target will be smaller, which means more difficult to find.

pub fn difficult_to_target(difficulty: U256) -> U256 {
		U256::max_value() / difficulty
}