312-50V11 · Question #663
Which of the following algorithms can be used to guarantee the integrity of messages being sent, in transit, or stored? (Choose the best answer)
The correct answer is C. hashing algorithms. Hashing algorithms produce a fixed-length digest from input data, and any modification to the data produces a different hash, making them the standard mechanism for verifying message integrity.
Question
Which of the following algorithms can be used to guarantee the integrity of messages being sent, in transit, or stored? (Choose the best answer)
Options
- Asymmetric algorithms
- Basymmetric algorithms
- Chashing algorithms
- Dintegrity algorithms
How the community answered
(25 responses)- B4% (1)
- C92% (23)
- D4% (1)
Why each option
Hashing algorithms produce a fixed-length digest from input data, and any modification to the data produces a different hash, making them the standard mechanism for verifying message integrity.
Symmetric algorithms such as AES provide confidentiality through encryption but do not inherently guarantee integrity - a modified ciphertext may decrypt to altered plaintext without detection unless a separate MAC is used.
Asymmetric algorithms such as RSA provide confidentiality and enable digital signatures, but the integrity check within a digital signature still relies on an underlying hash function applied to the message.
Hashing algorithms such as SHA-256 and SHA-3 generate a deterministic, fixed-length digest from any arbitrary input. Because even a single-bit change to the message produces a completely different hash value, recipients can compare computed hashes to detect unauthorized tampering or corruption. This collision-resistance property makes hashing the definitive cryptographic tool for integrity verification, used in digital signatures, MACs, and file verification workflows.
'Integrity algorithms' is not a recognized or standardized cryptographic category - it is a vague term that does not correspond to any defined class of algorithms.
Concept tested: Hashing algorithms for data integrity verification
Source: https://learn.microsoft.com/en-us/dotnet/standard/security/ensuring-data-integrity-with-hash-codes
Topics
Community Discussion
No community discussion yet for this question.