worin liegt der Unterschied zwischen
Code #1:
Code: Alles auswählen
crc32 = crcmod.Crc(0x104c11db7, initCrc=0xFFFFFFFF)
crc32.update(value)
crc = crc32.crcValue ^ 0xFFFFFFFFCode #2:
Code: Alles auswählen
crc32 = crcmod.Crc(0x104c11db7, initCrc=0xFFFFFFFF, xorOut=0xFFFFFFFF)
crc32.update(value)
crc = crc32.crcValueCode: Alles auswählen
crc32 = crcmod.Crc(0x104c11db7, initCrc=0, xorOut=0xFFFFFFFF)
crc32.update(value)
crc = crc32.crcValue:K
Kann mir das bitte jemand erklären?
