AEC.js
// AES CryptoJS var shifr = document.createElement("SCRIPT"); shifr.src = "http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/aes.js"; document.getElementsByTagName("head")[0].appendChild(shifr); var key_send = prompt("Key"); // function crypto_send(){ text_send = CryptoJS.AES.encrypt(document.getElementsByClassName("im_editable")[1].innerHTML, key_send).toString(); document.getElementsByClassName("im_editable")[1].innerHTML = text_send; IM.send(); } function all_time_decrypt(){ atd = setInterval(function () { var im_msg_text = document.getElementsByClassName("im_msg_text"); var l = im_msg_text.length - 1; for(i = l; i > 0; i --){
if(!im_msg_text[i].innerHTML.match(/
} } }, 1000); } document.getElementById("im_send").onclick = function () { crypto_send(); }; all_time_decrypt();