Add support for digest calculation
Design:
The currently proposed design in the discussion on issue #5 involves two methods:
- The SHA1 implementation in the
crypto
module from gnulib(crypto/sha1
). - Callback functions so that the user can set his own implementation or any other library's implementation for the digest functions.
This issue is for further discussion on this subject and to track the implementation for digest calculation in libWARC.