Verify of hashresult and byte[] now gets digest from parameters.