Sha1 Ref implemented
Sha1 TH helpers added
Loosened dependency for base