Without changing the byte[] numArray both Message Boxes show a different output even though the bytes stay exactly the same. Im confused.
Result of the first MessageBox: stream:stream to="" version="1.0" xmlns:stream="http://etherx.jabber.org/streams">
Result of the second MessageBox: ���F^��v
Third MessageBox: "Match"
MessageBox.Show(System.Text.Encoding.UTF8.GetString(numArray));
byte[] num1 = numArray;
byte[] encrypted = getEncryptedInit(numArray);
MessageBox.Show(System.Text.Encoding.UTF8.GetString(numArray));
byte[] num2 = numArray;
if (num1.SequenceEqual<byte>(num2) == true)
{
MessageBox.Show("Match");
}