-
๐ Iโm currently studying Cybersecurity at Ngee Ann Polytechnic
-
๐จโ๐ป Find out more about me at https://hubowen.dev/
-
๐ Decrypt my email by running the following JS code in your console!
(async()=>{const c="findmyemail",d="0000",eH="8b85ceb8a5c177e45d53f420fdb0b8afd64696d40b341e0c13d2e197901ac6c4",iH="f59c372d4a14228c544729d812997424",E=new TextEncoder(),h=x=>{const b=new Uint8Array(x.length/2);for(let i=0;i<b.length;i++)b[i]=parseInt(x.substr(i*2,2),16);return b},s=async m=>{const H=await crypto.subtle.digest("SHA-256",E.encode(m));return Array.from(new Uint8Array(H)).map(b=>b.toString(16).padStart(2,"0")).join("")},f=async()=>{console.log("Starting PoW (give it a few seconds)...");let n=0;while(true){const S=await s(c+n);if(S.startsWith(d)){console.log("Nonce:",n);const kH=await crypto.subtle.digest("SHA-256",E.encode(n.toString())),k=new Uint8Array(kH).slice(0,16),i=h(iH),e=h(eH);try{const a={name:"AES-CBC",iv:i},cK=await crypto.subtle.importKey("raw",k,a,!1,["decrypt"]),dD=await crypto.subtle.decrypt(a,cK,e);console.log("Email:",new TextDecoder().decode(dD))}catch(e){console.error("Decrypt failed:",e)}break}n++}};await f()})();
Some people, when confronted with a problem, think,
โI know, Iโll use threads,โ
and then two they hav erpoblesms.
โNed Batchelder