Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Promit

What makes SHA-1 better than MD5 or DES?

This topic is 5300 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve just been noticing that most networking libraries seem to rely on SHA-1 for file hasing and validation. I''m curious, what are the advantages of SHA-1 over other hashes such as MD5 or DES? I''m not suggesting using or not using the others, I''m just wondering why the networking stuff seems to favor SHA-1.

Share this post


Link to post
Share on other sites
Advertisement
Basically SHA-1 is slower but harder to crack and produces a larger digest than MD5. Both create digests rather than encrypting a stream and therefore are not very comparable to DES, which does actual encryption rather than just hashing.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!