Validates if the password meets a minimum length requirement.
bool isPasswordWithMinLength(int minLength) { return length >= minLength; }