Computer AwarenessHardIBPS PO Mains · SBI Clerk Mains

A bank publishes the SHA-256 hash of a downloadable app. A customer changes just one character in the downloaded file and hashes it again. What will the new hash look like?

  1. A. Identical to the published hash, as the size is unchanged
  2. B. Different from the published hash in one character only
  3. C. Completely different from the published hash
  4. D. The same as the published hash but one character shorter

Correct answer: C. Completely different from the published hash

Good hash functions show the avalanche effect: a tiny change in input changes the output unpredictably and completely, while the length stays fixed (64 hex characters for SHA-256).

हिंदी में

कोई बैंक डाउनलोड योग्य ऐप का SHA-256 हैश प्रकाशित करता है। एक ग्राहक डाउनलोड की गई फ़ाइल में केवल एक वर्ण बदलता है और उसका फिर हैश बनाता है। नया हैश कैसा दिखेगा?

  1. A. प्रकाशित हैश के समान, क्योंकि आकार अपरिवर्तित है
  2. B. प्रकाशित हैश से केवल एक वर्ण में भिन्न
  3. C. प्रकाशित हैश से पूरी तरह भिन्न
  4. D. प्रकाशित हैश जैसा ही पर एक वर्ण छोटा

उत्तर: C. अच्छे हैश फ़ंक्शन में हिमस्खलन प्रभाव (avalanche effect) होता है: इनपुट में छोटा सा परिवर्तन आउटपुट को अप्रत्याशित और पूर्णतः बदल देता है, जबकि लंबाई स्थिर रहती है (SHA-256 के लिए 64 हेक्स वर्ण)।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic