2

checksum = 1st4byte(sha256(sha256(PubKeyHash)))

checksum1 = 1st4byte(sha256(sha256(PubKeyHash1)))

What is the P(checksum == checksum1)? where PubKeyHash != PubKeyHash1

Is it 1/(2^^32)?

Cisco Mmu
  • 335
  • 1
  • 9

1 Answers1

8

Yes, exactly 1/2^32.

There isn't much more to say about it. Hashes of distinct values are uniformly randomly distributed. The chance for two independently uniformly randomly distributed hash to match in 32 bits is 1/2^32.

Pieter Wuille
  • 98,249
  • 9
  • 183
  • 287