Skip to content

browncw/crc32csum

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMPOSITE-CRC32 Checksum

A command-line program computes a Composite CRC32 (CRC32C) file checksum. It is particularly useful when checking quickly for file equality or working with HDFS and/or some object storage file systems, where this type of checksum can be used. Beware that CRC32C is not a cryptographic checksum.

Program uses crc32c-hw crc32c library, enables hardware assisted computation of the checksum.

Usage

Usage is simple.

./crc32csum file.txt

Result:

7c66d169        file.txt

Building

The library dependencies are bundled with the library.

git submodule update --init --recursive

Linux/Mac/Others

Regular cmake build commands.

mkdir build
cd build
cmake ../
make

Windows

!! Windows build is not tested yet, may not be running right now. !!

Regular cmake build commands.

mkdir build
cd build
cmake ../

Build generated solution file.

msbuild crc32csum.sln /p:Configuration=Release /p:Platform=x64

About

CRC32C Checksum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 61.0%
  • CMake 39.0%