title: Silverlight efficient hash for a large file
body: <p>In my silverlight application I have to generate a hash for a large file(> 2Gb)
  The operation is taking a lot of time. My code looks like:</p>
  
  <pre><code>    public static string GetFileHash(FileInfo file)
      {            
          FileStream fs = file.OpenRead();
          SHA256 shaM = new SHA256Managed();
          var result = BitConverter.ToString(shaM.ComputeHash(fs));
          return result;
      }
  </code></pre>
  
  <p>I think that the problem is the fact that I am not using a buffered stream. In silverlight I did not fount the BufferedStream.</p>
  
  <p>Do you know any efficient implementation of the hash algorithm? I tried md5 ... but it is not supported in silverlight.</p>
  
  <p>Thanks a lot, 
  Radu D</p>