sha1 implementation and tests
v0.0.3