roByteArray has both FromAsciiString and ToAsciiString methods.
For XOR, try this:
Function Xor(a As Integer, b As Integer) As Integer
If a = 0 Then Return b
If b = 0 Then Return a
Return ((a And Not b) Or (Not a And b))
End Function
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)