trivial encoder by shinh

$><<(gets['n']?gets.each_byte{|c|$><<'%X'%c}[/\BA/]:[gets].pack('H*'))

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

download

return to the top page