Quiz

Question 1

Which of the following are uses for hash functions in blockchain?

Solution
  • Block "chains" tying blocks together

  • Merkle trees holding the transactions within a block

Question 2

Which of the following are promises of blockchain technology?

Solution
  • Immutability

  • Decentralization

Question 3

A hash function where similar inputs produce similar outputs break collision resistance because it violates what?

Solution

Non-locality

Question 4

Which of the following properties of hash functions is essential to protecting against a single block being forged without changing the values of future blocks?

Solution
  • Second preimage resistance

Second preimage resistance means that it is impossible to find another hash input that produces the same output as an existing hash input. If an attacker can find another version of a block with the same hash, then they can replace that block without detection.

Last updated