[fpc-pascal] Fast CRC functions?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sun Aug 31 13:07:43 CEST 2014


On 2014-08-25 10:07, Tony Whyman wrote:
> There are indeed many different CRC algorithms. The division polynomial
> typically determines the function


And why I always favoured SHA1 instead of CRC. I don't have vast
knowledge on the subject, but SHA1 seems more standardised than CRC. At
least with the tests I have done, using various SHA1 implementations,
they gave me consistent results.

I know this doesn't help your cause Juha. I too read that article you
quoted, and was very impressed by the speed increase of the SSE enabled
CRC, but returning different results makes it unusable with existing
code and stored CRC values - at least you spotted that part too. ;-)


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/



More information about the fpc-pascal mailing list