Advertisement Jump to content

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 5398 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!