title: C# and Delphi. Read a XML Encrypted and zipped in Delphi with C#
body: <p>We have an encryped, and then zipped file of a XML document. This file is encrypted in Delphi with a package called 'DcpCrypt', using Rijndael and SHA256:</p>
  
  <pre><code>fRijndael:=TDCP_rijndael.Create(nil);
  fRijndael.BlockSize:=16;
  fRijndael.CipherMode:=cmCBC;
  fSHA256:=TDCP_sha256.Create(nil);
  fSHA256.HashSize:=256;
  </code></pre>
  
  <p>Is C# capable of uncrypting this? I've googled a lot and it seems that DcpCrypt calculates his Keys different than the .NET lib does.</p>
  
  <p>Many thanks in advance </p>