fix typo in LIBCRYPTO global reference.
add functions for piecewise hashing.
Merge pull request #4 from getzdan/piecewisehash

Piecewise hashing