rename hash to hexdigest, closes #11