/** * Method sets maximum allowed log2 number of iterations for password stretching. * * @param int $maxHashCount Maximum allowed log2 number of iterations for password stretching to set * @see MAX_HASH_COUNT * @see $maxHashCount * @see getMaxHashCount() */ public function setMaxHashCount($maxHashCount = NULL) { self::$maxHashCount = !is_NULL($maxHashCount) && is_int($maxHashCount) ? $maxHashCount : self::MAX_HASH_COUNT; }
/** * Method sets maximum allowed log2 number of iterations for password stretching. * * @param int $maxHashCount Maximum allowed log2 number of iterations for password stretching to set * @see MAX_HASH_COUNT * @see $maxHashCount * @see getMaxHashCount() */ public function setMaxHashCount($maxHashCount = null) { self::$maxHashCount = !is_null($maxHashCount) && is_int($maxHashCount) ? $maxHashCount : self::MAX_HASH_COUNT; }