a = "Hello".bytesb = "world".bytesc = a.zip(b).map{|aa, bb| aa ^ bb}p c
Standard input is empty
[63, 10, 30, 0, 11]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!