Update Hash.php

Updated error message to be more descriptive