implement SHA1 hasher

Does the last parameter need to be inOff + inLen, as above?