Skip to content

This fork of crc-64 simply makes the CRC64 class adhere to the Checksum interface

Notifications You must be signed in to change notification settings

pcoltau/crc-64

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

crc-64

This a little utility to calculate the CRC64 checksum, using the ECMA polynom. The original code is by Roman Nikitchenko (roman@nikitchenko.dp.ua), posted on StackOverflow.

The nifty trick here is that it is using a nested lookup table design invented by Mark Adler for increased performance, with performance tuned bitwise-ops to keep the amount of instructions per byte as low as possible.

So how fast is it you ask?

On my 2,3 GHz i7 MBP, I got 1150 MB/s using Java 8. The non-optimized version peaked at 375 MB/s, so thats about 3x faster.

The Jar is available via Maven Central: net.boeckling:crc-64:1.0.0

About

This fork of crc-64 simply makes the CRC64 class adhere to the Checksum interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%