provide higher level api to SHA functions

After reading through BinDeps for some other problem, this seems like it could be improved.