sha1() almost done. except reset code