Sub ShuffleText(Text As String, Key As String) As String
Dim x, y As Int
Dim NewText As String
For x = 0 To Key.Length - 1
NewText = ""
For y = 0 To Text.Length - 1
NewText = NewText & Chr( Bit.Xor(Asc(Key.CharAt(x)), Asc(Text.CharAt(y))))
Next
Text = NewText
Next
Return Text
End Sub