(async () => { const email = prompt(“Email to hash?”); const data = new TextEncoder().encode(email.trim().toLowerCase()); const buf = await crypto.subtle.digest(“SHA-256″, data); const hex = Array.from(new Uint8Array(buf)).map(b => b.toString(16).padStart(2,”0”)).join(“”); console.log(“hash16 =”, hex.slice(0,16)); })();