trivial encoder by nn

(S=System).out<<{e,s->e?new BigInteger((byte[])s).toString(16).toUpperCase().replace('422','C2A')+('A'-s[9]):new BigInteger(s,16).toByteArray()}("$S.in".split(/d?.{5}\n/))

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

download

return to the top page