trivial encoder by yowa

readline(o='')
for(s=readline(i=0);s[i];i++)o+=/H/(s)?s.charCodeAt(i).toString(16).toUpperCase():String.fromCharCode(eval("0x"+s[i++]+s[i]))
print(o+(/B/(o)?'A':''))

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

download

return to the top page