firebird icon indicating copy to clipboard operation
firebird copied to clipboard

CRC32 returns inverted value

Open shalamyansky opened this issue 2 years ago • 0 comments

CRC32 checksum (polynom 0x04C11DB7) for 'Firebird' is 0x023938D0 (3421780262). See here.

But Firebird function hash( 'Firebird' using CRC32 ) returns 0xD0383902 (-801621758). As you see it's inverted byte order value of true result.

CRC32 -> 0x023938D0 Firebird -> 0xD0383902

Firebird 4.0.3.2975_64_pdb Windows IA

shalamyansky avatar Dec 01 '23 20:12 shalamyansky