Validate that the hash passed in is of an appropriate length - not greater than the maximum digest size.