Hello to everyone,

Recently, I came across a scenario which required some data encryption routines applied to general binary files. I decided to use the managed code provided by .NET that implements the Triple Des algorithm (TripleDESCryptoServiceProvider object). Everything works fine as long as we stay within the .NET framework but what if the encryption or decryption routine is implemented on a different platform? (e.g. using Java's Cryptographic libraries). In that case, a file encrypted with a Java or Delphi platform is not easily decrypted with a C# e.g. routine of the .NET framework. For this reason I would like to know more about the actual implementation of the DES and Triple DES algorithms in .NET, from an algorithmic point of view (The algorithm uses some permutations, XOR operations, some bits of the key are ignored etc). Any kind of help would be highly appreciated.

Thank you,

Kyriakos Petrakos