What is the best security option in crypography?
In the cryptography which one is the beat security option MD5 or SHA-1.what the difference between them?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted May 10, 2012, 4:26 AM EDT
VulpesRank #55 · 29.2K reputationPosted May 10, 2012, 5:11 AM EDT
As Jitendra said, this means that SHA-1 is more secure but it also means that it's slower to execute than MD5.
However, neither are particularly secure by modern standards and are only really suitable for detecting accidental corruption in a data stream, not deliberate tampering. To detect the latter you really need SHA-256 or SHA-512 which have hash lengths of 256 and 512 bytes respectively but are considerably slower than MD5 or SHA-1.