2

Do all bitcoin transaction ids (hashes) have the same length?

I guess it's defined somewhere here: https://en.bitcoin.it/wiki/Protocol_specification but still I couldn't find it.

Murch
  • 71,155
  • 33
  • 180
  • 600
Doug Peters
  • 1,366
  • 14
  • 23

1 Answers1

6

Yes. The transaction ID is SHA256(SHA256(transaction)) as described here and thus always has a length of 256 bits (32 bytes).

Chuck Batson
  • 635
  • 4
  • 6