Experimental sha1 implementation