You have mentioned in proof_of_work function that we have to generate hash code until it satisfies our difficulty criteria. But how can we generate different hash codes when hash code for a string remains same no matter how many times we run the algorithm ?
You have mentioned in proof_of_work function that we have to generate hash code until it satisfies our difficulty criteria. But how can we generate different hash codes when hash code for a string remains same no matter how many times we run the algorithm ?