Need Sql CheckSum Algorithm in >ent

  • Thread starter Thread starter ManDev
  • Start date Start date
M

ManDev

Hi,

We have checksum function in sql server 2000,i would like to implement
same in .Net.Can some one provide checksum algorithm.


Thanks
ManDev.
 
ManDev said:
Hi,

We have checksum function in sql server 2000,i would like to implement
same in .Net.Can some one provide checksum algorithm.


Thanks
ManDev.
If you need a checksum implemented to return exactly what SQL does you
will have to try and find out their implementation.
If you just need a generic hashing algorithm then there are plenty
available in the framework.
Check out System.Security.Cryptography.

Md5, Sha1, Rijndael, the list goes on.

JB
 
John said:
If you need a checksum implemented to return exactly what SQL does you
will have to try and find out their implementation.
If you just need a generic hashing algorithm then there are plenty
available in the framework.
Check out System.Security.Cryptography.

Md5, Sha1, Rijndael, the list goes on.

Or object.GetHashCode()

JB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top