Make simpler API for hashing passwords