Re: [HACKERS] Re: Uh, this is *not* a 64-bit CRC ...

2001-03-07 Thread Tom Lane
"Vadim Mikheev" <[EMAIL PROTECTED]> writes: > I've asked if anyone can send crc64 impl to me and got only one from > Nathan Myers. Unfortunately, SWISS-PROT impl assumes that long long > is 8 bytes - is it portable? No, it's not. I have written an implementation that uses uint64 if available (pe

[HACKERS] Re: Uh, this is *not* a 64-bit CRC ...

2001-03-06 Thread Vadim Mikheev
> This isn't a 64-bit CRC. It's two independent 32-bit CRCs, one done > on just the odd-numbered bytes and one on just the even-numbered bytes > of the datastream. That's hardly any stronger than a single 32-bit CRC; I believe that the longer data the more chance to get same CRC/hash for differ