MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities Notes in Hindi & English : MD5 हैश एल्गोरिदम: 128-बिट डाइजेस्ट और सुरक्षा कमियां और 20 महत्वपूर्ण MCQ प्रश्न (Rajasthan IT Exam)

Post a Comment

PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities (MD5 हैश एल्गोरिदम: 128-बिट डाइजेस्ट और सुरक्षा कमियां) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।

Overview: MD5 (Message Digest 5, RFC 1321) is a legacy 128-bit cryptographic hash function designed by Ronald Rivest in 1991 that processes 512-bit blocks through 64 rounds, now cryptographically broken against practical collision attacks.

अध्याय सार: MD5 (Message Digest 5, RFC 1321) रोनाल्ड रिवेस्ट द्वारा 1991 में बनाया गया 128-बिट हैश एल्गोरिदम है, जो 512-बिट ब्लॉक पर 64 स्टेप्स चलाता है, परंतु व्यावहारिक कोलिजन हमलों के कारण अब क्रिप्टोग्राफिक सुरक्षा हेतु असुरक्षित घोषित हो चुका है।

MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities: Detailed Notes & Architecture (MD5 हैश एल्गोरिदम: 128-बिट डाइजेस्ट और सुरक्षा कमियां)

1. MD5 Design, Output Size & RFC 1321 Parameters (MD5 की संरचना, आउटपुट आकार और RFC 1321 मानक)

[EN] Published by Ronald Rivest in 1991 (standardized as RFC 1321 in 1992) to replace the weakened MD4, MD5 compresses any arbitrary-length message into a 128-bit (16-byte / 32-hexadecimal character) digest. Even at creation, its 128-bit output restricted theoretical collision resistance via the Birthday Paradox to at most 2^64 operations. MD5 operates strictly on 32-bit little-endian words optimized for early 32-bit x86 processors.

[HI] 1991 में रोनाल्ड रिवेस्ट द्वारा MD4 के स्थान पर विकसित MD5 (RFC 1321) किसी भी संदेश को 128-बिट (16 बाइट या 32 हेक्स अक्षर) के डाइजेस्ट में बदलता है। निर्माण के समय से ही इसकी 128-बिट लंबाई बर्थडे पैराडॉक्स के तहत अधिकतम 2^64 कोलिजन सुरक्षा तक सीमित थी।

2. Merkle-Damgard Padding & 64-Step Compression Pipeline (मर्कल-डैमगार्ड पैडिंग और 64-स्टेप कम्प्रेशन प्रक्रिया)

[EN] MD5 pads input messages so total bit length is congruent to 448 mod 512 (appending a single '1' bit, zeros, and a 64-bit little-endian integer encoding original bit length). Each 512-bit block divides into sixteen 32-bit words M[0..15] and updates four 32-bit chaining state registers (A = 0x67452301, B = 0xefcdab89, C = 0x98badcfe, D = 0x10325476). Processing executes 4 rounds of 16 operations (64 steps total), applying four distinct non-linear auxiliary functions (F, G, H, I), left circular rotations, and sine-table constants T[i] = floor(2^32 × |sin(i)|).

[HI] MD5 संदेश के अंत में '1' बिट, शून्य और 64-बिट मूल लंबाई जोड़कर इसे 512-बिट ब्लॉकों में बांटता है। चार 32-बिट रजिस्टरों (A, B, C, D) की प्रारंभिक वैल्यू के साथ प्रत्येक ब्लॉक पर 4 राउंड्स (प्रति राउंड 16 स्टेप्स = कुल 64 ऑपरेशंस) चलते हैं जिनमें F, G, H, I गैर-रैखिक फंक्शंस और साइन-टेबल स्थिरांक उपयोग होते हैं।

3. Collision Breakdown & Flame Malware Real-World Exploit (कोलिजन हमलों की विफलता और Flame मैलवेयर हमला)

[EN] In 2004, Xiaoyun Wang and Hongbo Yu demonstrated practical differential collision attacks against MD5, and subsequent refinements made generating two distinct files with identical MD5 hashes take milliseconds on an ordinary laptop (~2^18 operations). In 2008, researchers forged a rogue CA certificate using chosen-prefix MD5 collisions, and in 2012 the notorious Flame cyber-espionage malware exploited a chosen-prefix MD5 collision against a Microsoft Terminal Services Licensing CA to impersonate signed Windows updates.

[HI] 2004 में वांग व यू ने MD5 पर व्यावहारिक कोलिजन हमला सिद्ध किया, और आज एक सामान्य लैपटॉप सेकंड से भी कम समय में समान MD5 हैश वाली दो अलग फाइलें बना सकता है। 2012 के प्रसिद्ध Flame मैलवेयर ने Microsoft के पुराने MD5 सर्टिफिकेट पर Chosen-Prefix कोलिजन करके नकली डिजिटल साइन किए गए अपडेट तैयार कर लिए थे।

4. Remaining Non-Security Uses & Migration Mandate (शेष गैर-सुरक्षा उपयोग और SHA-256 माइग्रेशन)

[EN] Because collision resistance is completely broken, MD5 is strictly forbidden in TLS/X.509 certificates, digital signatures, HMAC-based security checks against untrusted input (though HMAC-MD5 technically remains pre-image resilient, NIST bans MD5), and password storage. MD5 survives solely for non-adversarial tasks like database cache keys, accidental file-transfer corruption detection, or content-addressable deduplication where no malicious attacker alters inputs.

[HI] कोलिजन सुरक्षा पूरी तरह टूटने के कारण MD5 का TLS सर्टिफिकेट, डिजिटल सिग्नेचर और पासवर्ड स्टोरेज में उपयोग पूर्णतः प्रतिबंधित है। आज यह केवल बिना हमलावर वाले कार्यों जैसे आकस्मिक फाइल त्रुटि जांच, कैश कुंजी या डुप्लिकेट फाइल पहचान तक सीमित है; सुरक्षा के लिए SHA-256 या BLAKE3 अपनाना अनिवार्य है।

Syntax, Formula & Technical Example (MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities)

# MD5 Parameters (RFC 1321) & Verification in Python / CLI
# Digest Size = 128 bits (16 bytes = 32 hex chars)
# Block Size  = 512 bits (16 x 32-bit words); Rounds = 4 x 16 = 64 operations
# Initial IVs (little-endian hex): A=0x67452301, B=0xefcdab89, C=0x98badcfe, D=0x10325476
# Non-linear round functions:
#   Round 1: F(B,C,D) = (B & C) | ((~B) & D)
#   Round 2: G(B,C,D) = (B & D) | (C & (~D))
#   Round 3: H(B,C,D) = B ^ C ^ D
#   Round 4: I(B,C,D) = C ^ (B | (~D))
import hashlib; print(len(hashlib.md5(b"exam").hexdigest()))  # Outputs: 32

MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities Quick Reference & Comparison Table

MD5 Attribute / MetricRFC 1321 Technical ValueSecurity & Exam Significance
Output Digest Size128 bits (16 bytes / 32 hexadecimal digits)Birthday bound capped at 2^64 even before structural flaws
Input Block & Padding512-bit block padded to 448 mod 512 + 64-bit lengthMerkle-Damgard construction vulnerable to length extension
Compression Loop4 rounds x 16 steps = 64 total operationsUses four 32-bit state registers (A, B, C, D) and T[1..64]
Collision Security StatusCompletely broken (~2^18 ops / milliseconds)Exploited by 2012 Flame malware; banned in PKI & TLS

MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities Top 20 Bilingual MCQs with Answers

Q1. What is the exact output digest length produced by the MD5 hashing algorithm?

(MD5 हैशिंग एल्गोरिदम द्वारा उत्पन्न आउटपुट डाइजेस्ट की सटीक लंबाई कितनी होती है?)

(A) 64 bits (16 hexadecimal characters)

(B) 160 bits (40 hexadecimal characters)

(C) 256 bits (64 hexadecimal characters)

(D) 128 bits (32 hexadecimal characters)

Correct Answer: (D)

[EN] MD5 always produces a 128-bit (16-byte) digest displayed as 32 hexadecimal digits.

[HI] MD5 हमेशा 128-बिट (16 बाइट) का डाइजेस्ट बनाता है जिसे 32 हेक्साडेसिमल अक्षरों में लिखा जाता है।

Q2. Who designed MD5 in 1991 as documented in IETF RFC 1321?

(1991 में IETF RFC 1321 के अंतर्गत MD5 एल्गोरिदम किसने डिज़ाइन किया था?)

(A) Joan Daemen

(B) Bruce Schneier

(C) Ronald Rivest

(D) Whitfield Diffie

Correct Answer: (C)

[EN] MIT professor Ronald Rivest created MD2, MD4, MD5, and MD6 (as well as the 'R' in RSA and RC4).

[HI] MIT के प्रोफेसर रोनाल्ड रिवेस्ट ने MD4 के बाद 1991 में MD5 (RFC 1321) बनाया था।

Q3. How many rounds and total operations does the MD5 compression function execute on each 512-bit message block?

(MD5 कम्प्रेशन फंक्शन प्रत्येक 512-बिट ब्लॉक पर कितने राउंड्स और कुल कितने स्टेप ऑपरेशंस चलाता है?)

(A) 16 rounds of 4 operations each (64 total)

(B) 5 rounds of 16 operations each (80 total)

(C) 64 rounds of 4 operations each

(D) 4 rounds of 16 operations each (64 operations total)

Correct Answer: (D)

[EN] MD5 updates registers A, B, C, D across 4 rounds using auxiliary functions F, G, H, I, executing 16 steps per round = 64 steps.

[HI] MD5 में 4 राउंड होते हैं और प्रत्येक राउंड में 16 स्टेप्स चलते हैं, जिससे कुल 64 ऑपरेशंस पूरे होते हैं।

Q4. In MD5 padding, a message of ANY length is padded so its length in bits becomes congruent to what value modulo 512 before appending the 64-bit length?

(MD5 पैडिंग में 64-बिट लंबाई जोड़ने से ठीक पहले संदेश की बिट लंबाई को मॉड्यूलो 512 के किस मान के बराबर बनाया जाता है?)

(A) 128 mod 512

(B) 256 mod 512

(C) 512 mod 512

(D) 448 mod 512

Correct Answer: (D)

[EN] Padding leaves exactly 64 bits remaining (512 - 64 = 448) so appending the 64-bit original length creates an exact multiple of 512 bits.

[HI] पैडिंग द्वारा संदेश को 448 mod 512 बिट का बनाया जाता है ताकि अंत में 64-बिट लंबाई जोड़ने पर पूरा 512-बिट ब्लॉक तैयार हो।

Q5. Which famous 2012 cyber-espionage malware exploited a chosen-prefix MD5 collision to forge a legitimate-looking Microsoft digital signature?

(2012 में किस प्रसिद्ध मैलवेयर ने माइक्रोसॉफ्ट के डिजिटल सर्टिफिकेट की नकल करने हेतु MD5 Chosen-Prefix कोलिजन का उपयोग किया था?)

(A) WannaCry ransomware

(B) Morris Worm

(C) Stuxnet USB worm solely

(D) Flame malware

Correct Answer: (D)

[EN] Flame attackers forged an intermediate Microsoft Terminal Services certificate using chosen-prefix MD5 collisions to push malicious code via Windows Update.

[HI] Flame मैलवेयर ने MD5 कोलिजन का उपयोग करके Microsoft द्वारा प्रमाणित दिखने वाला नकली कोड-साइनिंग सर्टिफिकेट बना लिया था।

Q6. Even if MD5 contained ZERO mathematical structural flaws, why would 128 bits still be considered insufficient for collision resistance today?

(यदि MD5 में कोई भी आंतरिक संरचनात्मक दोष न होता, तब भी आज 128-बिट लंबाई कोलिजन सुरक्षा के लिए अपर्याप्त क्यों मानी जाती?)

(A) Because 128 bits is too large for IPv6 packets

(B) Because 2^64 is smaller than 1 million

(C) Because 128-bit strings cannot be encoded in UTF-8

(D) Because the Birthday Paradox limits a 128-bit hash to at most 2^64 collision security, which modern clusters can reach

Correct Answer: (D)

[EN] With n = 128, 2^(n/2) = 2^64 operations is well within reach of well-funded nation states and GPU/ASIC clusters (modern security requires >= 2^128 collision resistance).

[HI] 128-बिट हैश पर बर्थडे बाउंड 2^64 प्रयास होता है जिसे आधुनिक सुपरकंप्यूटर/ASIC क्लस्टर पार कर सकते हैं; कम से कम 256-बिट हैश (2^128 बाउंड) आवश्यक है।

Q7. Who published the breakthrough 2004 cryptanalysis demonstrating practical collision generation in MD5?

(2004 में किस शोधकर्ता समूह ने MD5 में व्यावहारिक कोलिजन उत्पन्न करने का सफल क्रिप्टएनालिसिस प्रकाशित किया था?)

(A) Guido Bertoni and Joan Daemen

(B) Ron Rivest and Adi Shamir

(C) Martin Hellman and Ralph Merkle

(D) Xiaoyun Wang and Hongbo Yu (with Feng and Chen)

Correct Answer: (D)

[EN] Presented at CRYPTO 2004, Xiaoyun Wang's differential attack shattered MD5 (alongside MD4, HAVAL-128, and RIPEMD) in hours on a standard PC.

[HI] CRYPTO 2004 में शिओयुन वांग (Xiaoyun Wang) और होंगबो यू ने कुछ घंटों में MD5 कोलिजन बनाकर इसे तोड़ दिया था।

Q8. What sizes are the four chaining state registers (A, B, C, D) inside MD5's compression engine?

(MD5 कम्प्रेशन इंजन के भीतर चारों चेनिंग स्टेट रजिस्टरों (A, B, C, D) में से प्रत्येक का आकार कितना होता है?)

(A) 128 bits each (512 bits total)

(B) 16 bits each (64 bits total)

(C) 32 bits each (4 × 32 = 128 bits total)

(D) 64 bits each (256 bits total)

Correct Answer: (C)

[EN] The final concatenation of little-endian registers A || B || C || D yields the 128-bit MD5 output.

[HI] A, B, C, D चारों रजिस्टर 32-32 बिट के होते हैं जिन्हें अंत में जोड़कर 128-बिट MD5 आउटपुट बनता है।

Q9. How is an already-exact 448-bit (or 512-bit) message padded in MD5?

(यदि किसी मूल संदेश की लंबाई पहले से ही ठीक 448 बिट हो, तो MD5 पैडिंग उसके साथ क्या करती है?)

(A) Zero padding is skipped completely

(B) The last 64 bits are truncated

(C) Padding is ALWAYS added (at least a '1' bit plus zeros to reach the next 448 mod 512 boundary, adding an extra 512-bit block)

(D) Only the 64-bit length is appended without any '1' bit

Correct Answer: (C)

[EN] MD5 unconditionally appends a '1' bit followed by zero bits until length ≡ 448 (mod 512); an exact 448-bit message therefore adds 512 padding bits plus 64 length bits.

[HI] MD5 में पैडिंग हमेशा जोड़ी जाती है—यदि लंबाई पहले से 448 mod 512 हो तो भी एक '1' बिट और 511 शून्य बिट्स लगाकर नया 512-बिट ब्लॉक बनाया जाता है।

Q10. From what mathematical function are the 64 thirty-two-bit constant values T[1..64] derived in MD5?

(MD5 के 64 स्थिरांक मान T[1..64] किस गणितीय फंक्शन से प्राप्त किए जाते हैं?)

(A) Powers of Euler's number e^i

(B) Cube roots of the first 64 prime numbers

(C) Square roots of the first 64 prime numbers

(D) Sine function: floor(2^32 × |sin(i)|) in radians

Correct Answer: (D)

[EN] MD5 uses integer parts of 2^32 × |sin(i)| as nothing-up-my-sleeve constants (whereas SHA-2 uses fractional parts of square/cube roots of primes).

[HI] MD5 में कोण i (रेडियन में) के |sin(i)| को 2^32 से गुणा कर पूर्णांक भाग से 64 स्थिरांक बनाए जाते हैं (जबकि SHA-2 में अभाज्य वर्गमूल/घनमूल प्रयुक्त होते हैं)।

Q11. What does a 'Chosen-Prefix Collision' attack against MD5 allow an adversary to accomplish that simple identical-prefix collisions cannot?

(सामान्य कोलिजन की तुलना में MD5 पर 'Chosen-Prefix Collision' हमला हमलावर को क्या करने में सक्षम बनाता है?)

(A) Encrypt data using MD5 as a symmetric cipher

(B) Choose two completely different starting files (such as benign vs malicious PDF/certificates) and append different suffixes to force matching MD5 hashes

(C) Recover the original password from an MD5 hash in 1 step

(D) Increase the digest size from 128 to 256 bits

Correct Answer: (B)

[EN] Chosen-prefix attacks let an attacker keep two distinct meaningful headers/subjects (e.g., two different domain names) and still collide.

[HI] Chosen-Prefix हमले में दो बिल्कुल अलग शुरुआती फाइलों (जैसे अलग-अलग डोमेन सर्टिफिकेट) के अंत में कुछ बाइट्स जोड़कर दोनों का MD5 समान किया जा सकता है।

Q12. In which scenario is using MD5 STILL technically acceptable today without security risk?

(आज के समय में निम्नलिखित में से किस कार्य के लिए MD5 का उपयोग बिना बड़े सुरक्षा जोखिम के किया जा सकता है?)

(A) Detecting accidental disk/download bit errors or creating non-adversarial cache keys where no attacker alters inputs

(B) Signing Linux kernel packages and Windows executables

(C) Issuing HTTPS TLS certificates for banking domains

(D) Hashing user login passwords in a web database

Correct Answer: (A)

[EN] MD5 remains fast for spotting accidental bit flips or non-malicious deduplication, though malicious tampering requires SHA-256.

[HI] जहाँ कोई हमलावर डेटा में हेरफेर न कर रहा हो (जैसे आकस्मिक फाइल त्रुटि या लोकल कैश कुंजी), वहाँ MD5 चल सकता है; पर सुरक्षा कार्यों में कतई नहीं।

Q13. What byte ordering (endianness) does MD5 use internally when interpreting 32-bit words and outputting its 128-bit digest?

(MD5 आंतरिक रूप से 32-बिट शब्दों और 64-बिट संदेश लंबाई को पढ़ने के लिए किस बाइट ऑर्डरिंग (Endianness) का उपयोग करता है?)

(A) Middle-endian PDP-11 order

(B) Big-endian byte order (like SHA-1/SHA-256)

(C) Little-endian byte order

(D) Bit-reversed ASCII order

Correct Answer: (C)

[EN] Unlike SHA-1 and SHA-256 which use big-endian encoding, MD5 interprets input words and 64-bit length in little-endian format.

[HI] SHA-1 व SHA-256 के विपरीत (जो Big-endian हैं), MD5 आंतरिक गणनाओं व लंबाई क्षेत्र में Little-endian क्रम अपनाता है।

Q14. Which non-linear bitwise operation serves as the Round 3 function H(X, Y, Z) in MD5?

(MD5 के राउंड 3 में गैर-रैखिक बिटवाइज़ फंक्शन H(X, Y, Z) का सूत्र क्या होता है?)

(A) X ^ Y ^ Z (three-way bitwise XOR)

(B) (X & Y) | ((~X) & Z)

(C) Y ^ (X | (~Z))

(D) (X & Z) | (Y & (~Z))

Correct Answer: (A)

[EN] MD5 uses F = (X&Y)|((~X)&Z) in Round 1, G = (X&Z)|(Y&(~Z)) in Round 2, H = X^Y^Z in Round 3, and I = Y^(X|(~Z)) in Round 4.

[HI] MD5 के राउंड 3 में H(X,Y,Z) तीन-तरफ़ा बिटवाइज़ XOR (X ^ Y ^ Z) होता है।

Q15. If a software vendor publishes ONLY an MD5 checksum next to a downloadable installer on an HTTP mirror, what risk exists?

(यदि कोई वेबसाइट अपने सॉफ्टवेयर इंस्टॉलर के पास केवल MD5 चेकसम देती है, तो कौन सा सुरक्षा जोखिम उत्पन्न होता है?)

(A) Users cannot run the installer on 64-bit CPUs

(B) An attacker can host a trojanized installer altered to yield the exact same MD5 checksum

(C) The installer becomes 128 bits larger

(D) The download speed drops by 50%

Correct Answer: (B)

[EN] Because MD5 collisions are cheap to craft, an adversary controlling a mirror or MitM proxy can substitute malware matching the published MD5.

[HI] कोलिजन बनाना आसान होने से हमलावर मैलवेयर वाली नकली इंस्टॉलर फाइल का MD5 भी असली फाइल के बराबर बना सकता है।

Q16. Which statement about MD5 (Message Digest 5) is FALSE?

(MD5 (Message Digest 5) के बारे में निम्नलिखित में से कौन सा कथन असत्य (FALSE) है?)

(A) MD5 outputs a 128-bit digest represented as 32 hex characters

(B) MD5 produces a 160-bit digest and executes 80 compression rounds

(C) MD5 is vulnerable to chosen-prefix collision attacks

(D) MD5 processes input in 512-bit blocks

Correct Answer: (B)

[EN] 160-bit digest and 80 rounds describe SHA-1, NOT MD5; MD5 outputs 128 bits across 64 operations (4 rounds of 16).

[HI] 160-बिट डाइजेस्ट और 80 राउंड्स SHA-1 की विशेषताएं हैं, MD5 की नहीं; MD5 128-बिट आउटपुट और 64 स्टेप्स चलाता है।

Q17. Within MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities, which md5 attribute / metric directly maps to: "128 bits (16 bytes / 32 hexadecimal digits)"?

(MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities में कौन सा MD5 Attribute / Metric सीधे "128 bits (16 bytes / 32 hexadecimal digits)" से संबंधित है?)

(A) Output Digest Size

(B) Collision Security Status

(C) Compression Loop

(D) Input Block & Padding

Correct Answer: (A)

[EN] In MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities, 'Output Digest Size' handles '128 bits (16 bytes / 32 hexadecimal digits)' (Birthday bound capped at 2^64 even before structural flaws).

[HI] MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities में 'Output Digest Size' का कार्य/विवरण '128 bits (16 bytes / 32 hexadecimal digits)' (Birthday bound capped at 2^64 even before structural flaws) है।

Q18. Which option accurately describes 'Input Block & Padding' in MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities?

(MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities के संदर्भ में 'Input Block & Padding' की सही विशेषता कौन सी है?)

(A) Completely broken (~2^18 ops / milliseconds)

(B) 4 rounds x 16 steps = 64 total operations

(C) 128 bits (16 bytes / 32 hexadecimal digits)

(D) 512-bit block padded to 448 mod 512 + 64-bit length

Correct Answer: (D)

[EN] 'Input Block & Padding' provides '512-bit block padded to 448 mod 512 + 64-bit length' — key point: Merkle-Damgard construction vulnerable to length extension.

[HI] 'Input Block & Padding' का मुख्य विवरण '512-bit block padded to 448 mod 512 + 64-bit length' है (Merkle-Damgard construction vulnerable to length extension)।

Q19. In MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities, identify the correct parameter for the specification: "4 rounds x 16 steps = 64 total operations".

(MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities में "4 rounds x 16 steps = 64 total operations" विवरण किस विकल्प के लिए सही है?)

(A) Compression Loop

(B) Output Digest Size

(C) Input Block & Padding

(D) Collision Security Status

Correct Answer: (A)

[EN] 'Compression Loop' corresponds to '4 rounds x 16 steps = 64 total operations' (Uses four 32-bit state registers (A, B, C, D) and T[1..64]).

[HI] 'Compression Loop' का संबंध '4 rounds x 16 steps = 64 total operations' (Uses four 32-bit state registers (A, B, C, D) and T[1..64]) से है।

Q20. Considering MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities, what key behavior defines 'Collision Security Status'?

(MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities में 'Collision Security Status' की मुख्य भूमिका या मान क्या है?)

(A) 4 rounds x 16 steps = 64 total operations

(B) 128 bits (16 bytes / 32 hexadecimal digits)

(C) 512-bit block padded to 448 mod 512 + 64-bit length

(D) Completely broken (~2^18 ops / milliseconds)

Correct Answer: (D)

[EN] 'Collision Security Status' represents 'Completely broken (~2^18 ops / milliseconds)' (Exploited by 2012 Flame malware; banned in PKI & TLS).

[HI] 'Collision Security Status' का अर्थ/मान 'Completely broken (~2^18 ops / milliseconds)' है (Exploited by 2012 Flame malware; banned in PKI & TLS)।

MD5 (Message Digest 5): 128-bit Hash and Vulnerabilities — Exam FAQs

Q1: How long does it take a modern computer to generate an MD5 collision?

आज के आधुनिक कंप्यूटर को दो अलग फाइलों का समान MD5 हैश (Collision) बनाने में कितना समय लगता है?

[EN] Using tools like FastColl on an ordinary consumer CPU, finding an identical-prefix MD5 collision takes well under 1 second.

[HI] एक सामान्य लैपटॉप CPU पर FastColl जैसे टूल की मदद से MD5 कोलिजन 1 सेकंड से भी कम समय में उत्पन्न हो जाता है।

Q2: If MD5 is broken for collisions, can someone instantly reverse an MD5 hash of my password?

यदि MD5 कोलिजन के लिए टूट चुका है, तो क्या कोई किसी MD5 हैश से तुरंत मेरा पासवर्ड निकाल सकता है?

[EN] Pre-image resistance of MD5 has not been practically broken yet, meaning arbitrary random hashes cannot be directly inverted—however, fast GPUs crack unsalted MD5 passwords via dictionary/brute-force attacks in seconds.

[HI] MD5 को सीधे गणित से उलटा नहीं जा सकता, लेकिन GPU सेकंड में अरबों MD5 हैश जांचकर डिक्शनरी व ब्रूट-फोर्स हमले से पासवर्ड तुरंत तोड़ देते हैं।

Q3: What algorithm should replace MD5 in legacy codebases?

पुराने सिस्टम में MD5 के स्थान पर कौन सा एल्गोरिदम अपनाया जाना चाहिए?

[EN] Use SHA-256 (or SHA-3 / BLAKE3) for file integrity and digital signatures, HMAC-SHA256 for message authentication, and Argon2id for password storage.

[HI] फाइल अखंडता व सिग्नेचर के लिए SHA-256 (या SHA-3/BLAKE3), प्रमाणीकरण के लिए HMAC-SHA256 और पासवर्ड हेतु Argon2id का उपयोग करें।

Related Posts

  • Loading related posts...

Post a Comment

Search Topic Notes & 20 MCQs (Hindi / English)