#Encriptador de texto a hexadecimal
#Coded by Sanko
print "Escribe aquí el texto a encriptar : "
STDOUT.flush
texto = gets.chomp
var = 0
resultado = ""
while var <= texto.length-1 do
textos = texto.slice(var..-1).unpack('U')[0]
resultado += textos.to_s(16)+" "
var+=1
end
puts resultado