Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CRC32 returns negative on big files
Message
From
29/07/2011 16:40:30
 
 
To
29/07/2011 16:32:05
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01519635
Message ID:
01519647
Views:
28
>>Aren't there already CRC32 classes out there you could use without reinventing the wheel? e.g. Google [.net crc32 class] yields http://blogs.msdn.com/b/delay/archive/2009/01/14/free-hash-a-reusable-crc-32-hashalgorithm-implementation-for-net.aspx , amongst others.
>
>The one I use is simply the official polynomial used by CRC32 in PKZip. This is a common class used across the net. I checked the other one you mentioned. That one, I never saw it before. Did you find any advantage in using that one?

I don't use it. I'm approaching this from the POV that if it's commonly used across the net, someone else has already implemented the class, and you don't have to reinvent the wheel.

>
>>http://msdn.microsoft.com/en-us/library/system.security.cryptography.sha1.aspx
>
>I went into that link and was unable to find anything in regards to CRC32. Is there?

That link is for SHA. I didn't realize you require CRC32 for your specific case.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform