Nonce: {{ nonce }}
Difficulty: {{ difficulty }}
To solve the Proof of Work challenge, run the following Python script locally with the provided nonce:
import hashlib nonce = "{{ nonce }}" difficulty = {{ difficulty }} def sha256(message): return hashlib.sha256(message.encode()).hexdigest() solution = 0 while True: hash_result = sha256(nonce + str(solution)) if hash_result.startswith('0' * difficulty): print("Solution found:", solution) break solution += 1
Once you've found the solution, enter it below: