Issue #54 - fix incorrect sha1() hashes

Issue #54 

sha1() now works correctly on strings 8192 bytes and longer
sha1() now works correctly on strigns 55 bytes long