const getAttendeeData = async () => { const str = new URL(window.location.href).searchParams.get('data') || ''; const cipherText = decodeURIComponent(window.atob(str)); const pwUtf8 = new TextEncoder().encode('ewebinar'); const pwHash = await crypto.subtle.digest('SHA-256', pwUtf8); const ivStr = atob(cipherText).slice(0, 12); const iv = new Uint8Array(Array.from(ivStr).map((ch) => ch.charCodeAt(0))); const alg = { name: 'AES-GCM', iv: iv }; const key = await crypto.subtle.importKey('raw', pwHash, alg, false, ['decrypt']); const ctStr = atob(cipherText).slice(12); const ctUint8 = new Uint8Array(Array.from(ctStr).map((ch) => ch.charCodeAt(0))); try { const plainBuffer = await crypto.subtle.decrypt(alg, key, ctUint8); const decrypted = new TextDecoder().decode(plainBuffer); return JSON.parse(decrypted); } catch (error) { throw new Error('decrypt failed'); } };

Thank You For Your Purchase!

  • Get Access to Positive Review Code on the call below

  • Get Access to to your Positive Review QR Code

  • Learn how to effectively use your Positive Review QR

  • Tips and strategies to maintain and optimize your Google My Business profile

  • Proven methods to rank #1 on Google

⚠️ Choose a convenient time for the meeting from the available slots below.

We look forward to helping you take your business to the next level! 🤝🏻⚡️