Locked History Actions

checksums.Crc32DualFixup

checksums.Crc32DualFixup

This fixup will create a CRC32 for two referenced data elements. The first data element (ref1) will be CRC'd and then used to seed the CRC of the 2nd data element (ref2). You can read more about fixups here.

NOTE: The Number data element MUST be signed as the python CRC code can produce negative numbers.

<Block name="HelloWorld">
  <Number name="CRC" size="32" signed="true" endian="little">
     <Fixup class="checksums.Crc32DualFixup">
        <Param name="ref1" value="Data1"/>
        <Param name="ref2" value="Data2"/>
     </Fixup>
  </Number>
  <Blob name="Data1">
  <String name="Data2">
</Block>

Attributes:

  • class -- Must be checksums.Crc32DualFixup

Valid Child-Elements: