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?

  1. Tree-structured Hash
  2. Complex hash
  3. Simple Hash
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.