trivial encoder by nanto_vi

print(/n/((r=readline)(),l=r())?[l.charCodeAt(i).toString(16).toUpperCase()for(i in l)].join("")+(/p/(l)?"A":""):unescape(l.replace(/../g,"%$&")))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page