Home »
MCQs »
Blockchain MCQs
What type of hash is used when there is a fixed number of items to be hashed, such as the items in a block header, and we are verifying the composite block integrity?
23. What type of hash is used when there is a fixed number of items to be hashed, such as the items in a block header, and we are verifying the composite block integrity?
- Tree-structured Hash
- Complex hash
- Simple Hash
- Either
Answer: C) Simple Hash
Explanation:
Masking off the bottom m bits to use as an index into a table of size 2 m is a basic hash function. A folding hash code is created by dividing the input into n pieces of m bits each, where 2m is the table size, then combining the sections with a parity-preserving bitwise operation like ADD or XOR.