sha1.cpp modified for use as #include file