Fixed sha1 implementation.
This is 0.0.3