b=*$<.bytes x=eval b*"^" a=x/n=16 (b+[x%n*n^x]).map{|c|putc a*n+(a=x^c)/n}

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

download

return top