And I don't understand the purpose of your split. Wouldn't @array = $msg =~ /(..)/g be much handier?
In reply to Re: strings to number and XOR by JavaFan in thread strings to number and XOR by alager