Hash Algorithm
Secure Hash Algorithm (SHA-1) calculates a 160-bit hashed value for the targeted message. Message Digest 5 produces calculates a 128-hash value. MD5 is now considered obsolete because of the “birthday problem”. Notice the increase from 160-bit to 128-bit. Do you think more bits for the hash value makes the algorithm better? Explain your position.
Requirement Correct Partially Correct
Explanation of MD5 30% 15%
Explanation of SHA-1 30% 15%
Justification 35% 20%
Sample Answer
MD5 and SHA-1: Cryptographic Hash Functions
- MD5 (Message Digest 5): Developed in the 1990s, MD5 generates a 128-bit hash value (a unique fingerprint) for a digital message. It was widely used but is now considered insecure due to vulnerabilities discovered in the late 2000s.
- SHA-1 (Secure Hash Algorithm 1): Designed by the National Institute of Standards and Technology (NIST) as a more secure alternative to MD5, SHA-1 produces a 160-bit hash value. However, SHA-1 has also been found to have weaknesses, and NIST recommends using stronger hashing algorithms like SHA-256 or SHA-3 for new applications.