Re: CRC

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



R. McGraw <lmcgraw@xxxxxxxxxxxxxx> wrote:
> Is there a CRC function in .NET where I can to a check for a valid file
> transfer, or does someone have a code snippet I can have?

Well, you could MD5 the stream. Alternatively, I have a library which
includes an Adler32 implementation at
http://www.pobox.com/~skeet/csharp/miscutil

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: Maybe a stupid question regarding input output fed hash algorithms
    ... > stream/chain of MD5 fed loop. ... do MD5 carry such features that it is possible to ... stream cipher from a hash is an CTR mode e.g. ...
    (sci.crypt)
  • Re: Maybe a stupid question regarding input output fed hash algorithms
    ... To create a pseudo random stream from a plain password and MD5 that could ...
    (sci.crypt)
  • Re: MD5 Algorithm
    ... I have down loaded the Forth code for MD5 but I don't ... decrypt asymetric encryptions coming from the server or, ... 2- Client generates a random stream B ...
    (comp.lang.forth)
  • Re: how to upload file via c# code
    ... That's exactly what I am looking for - one more thing, the code snippet ... shows how to upload the file only, I need to know how to upload the file ... > are some code snippet on using webclient or httpwebrequest to post file ... > Stream memStream = new System.IO.MemoryStream; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: An hash-Encryption algorithm
    ... Not to mention stream repeating... ... > have to process longer and longer strings. ... > The right way to do this is to use MD5 as a pseudo-random function ... > and use either counter mode, output feedback mode or ciphertext ...
    (sci.crypt)