Lines Matching defs:ctext
226 function toggleCryptDiv(elemid,lock,ctext) {
235 // encrypt text (set back to ctext, and forget key)
236 elem.innerHTML=ctext;
241 if((ptext=verifyDecrypt(ctext,lock,false))===false) {
291 var ret="", key="", ctext="";
300 if(!(ctext=decryptBlock(x.substring(cur,closetag+tag.length+3),false))) {
303 ret+=x.substring(pos,cur) + ctext;
312 var ret="", key="", ctext="";
324 if(!(ctext=encryptBlock(x.substring(cur,closetag+tag.length+3),false))) {
328 ret+=x.substring(pos,cur) + ctext;
335 function verifyDecrypt(ctext,lock,key) {
341 if(!(ptext=decryptTextString(ctext,key))) {
344 ptext=decryptTextString(ctext,key);
355 if(!(ptext=decryptTextString(ctext,xkey))) {
399 var tagend=0, ptend=0, lock=null, ctext;
420 if(!(ctext=encryptTextString(data.substring(tagend+1,ptend),key))) {
424 "COLLAPSED=" + collapsed + ">" + ctext + "</ENCRYPTED>");
493 function decryptTextString(ctext,akey) {
498 ct=disarm_base64(ctext);