I want to calculate the MD5 and SHA checksum of a series of huge files.
Each file is about 1GB
, so I wish to be as fast as possible.
Could anyone help to recommend some efficient C++ library?
BTW,
When reading file, fread( buffer, sizeof(char), BUFFER_SIZE, fin )
, what size of BUFFER_SIZE
is reasonable?