Implement and test rest of SHA functions