Question

    What is the main purpose of hashing in

    blockchain?
    A To encrypt data Correct Answer Incorrect Answer
    B To store large files Correct Answer Incorrect Answer
    C To create digital signatures Correct Answer Incorrect Answer
    D To ensure data integrity Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    Hashing is used in blockchain to ensure the integrity of data within each block. Each block contains a hash of the previous block's data, forming a chain. If any data is altered in a block, its hash would change, alerting participants to tampering attempts.

    Practice Next