From c3b6b9602e488a11fdafff4a4b5aefdc6d2d885d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 23 Mar 2025 09:54:25 +0800 Subject: Update every 256 tries --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index ce4fe1c..14e36ed 100644 --- a/main.go +++ b/main.go @@ -134,8 +134,8 @@ document.addEventListener("DOMContentLoaded", function() { nonce++; - // Update status every 65536 tries - if ((nonce & 0xFFFFn) === 0n) { + // Update status every 256 tries + if ((nonce & 0x00FFn) === 0n) { status_el.textContent = "Tried " + nonce + " candidates so far..."; await new Promise(r => setTimeout(r, 0)); } -- cgit v1.2.3