Cleaned up SHA1 and hashintf