Well guys I am in a bit of a pickle here...
I am doing some exercises on encrypting data. One of them are binary files. I am currently using triple DES to encrypt and decrypt the files both in VB.NET and C#...
Now the thing is, once it is decrypted in VB.NET and saved, i can execute it again...
But for some reason, my C# file is bigger! 20,4K where VB.NET one is 19,0. The C# file also is rendered unexecutable...
Upon a closer look. The files appear almost exactly the same, but C# seems to add in a few extra bytes here and there in (seemingly) random places...
I am currently using File.ReadAllText(String filepath, Encoding encoding); with UTF-8 encoding
thanks!