|
|
|
|
71
|
|
71
|
|
72
|
2. **Uppercase letters**: the score is $$2 \left(len - n \right)$$ if the password consists of a mix of uppercase letters **AND** at least another type of character (lowercase, digits, symbols). If not, the score is $$0$$. For example,
|
72
|
2. **Uppercase letters**: the score is $$2 \left(len - n \right)$$ if the password consists of a mix of uppercase letters **AND** at least another type of character (lowercase, digits, symbols). If not, the score is $$0$$. For example,
|
73
|
|
73
|
|
74
|
- a. the score for `"ab453"` would be $$0$$ since it doesn't have uppercase letters (the count is also $$0$$).
|
|
|
|
|
74
|
+ a. the score for `"ab453"` would be $$0$$ since it doesn't have uppercase letters (the count is also $$0$$).
|
75
|
|
75
|
|
76
|
- b. the score for `"ALGO"` would be $$0$$ since it **only** has uppercase letters (the count is $$4$$).
|
|
|
|
|
76
|
+ b. the score for `"ALGO"` would be $$0$$ since it **only** has uppercase letters (the count is $$4$$).
|
77
|
|
77
|
|
78
|
- c. the score for `"SANC8in"` would be $$2 \left(7-4\right) = 6$$ since the password has a length of $$7$$, has $$4$$ uppercase letters, and contains characters of another type (the count is $$4$$).
|
|
|
|
|
78
|
+ c. the score for `"SANC8in"` would be $$2 \left(7-4\right) = 6$$ since the password has a length of $$7$$, has $$4$$ uppercase letters, and contains characters of another type (the count is $$4$$).
|
79
|
|
79
|
|
80
|
3. **Lowercase letters**: the score is $$2 \left(len - n\right)$$ if the password is a mix of lowercase letters **AND** at least another type of character (uppercase, digits, symbols). If not, the score is $$0$$. For example,
|
80
|
3. **Lowercase letters**: the score is $$2 \left(len - n\right)$$ if the password is a mix of lowercase letters **AND** at least another type of character (uppercase, digits, symbols). If not, the score is $$0$$. For example,
|
81
|
|
81
|
|
82
|
- a. the score for `"ab453"` would be $$2 \left(5-2\right) = 6$$ because the password has a length of$$5$$, contains $$2$$ lowercase letters, and contains characters of another type. The count is $$2$$.
|
|
|
|
|
82
|
+ a. the score for `"ab453"` would be $$2 \left(5-2\right) = 6$$ because the password has a length of$$5$$, contains $$2$$ lowercase letters, and contains characters of another type. The count is $$2$$.
|
83
|
|
83
|
|
84
|
- b. the score for `"ALGO"` would be $$0$$ because it doesn't have lowercase letters. The count is $$0$$.
|
|
|
|
|
84
|
+ b. the score for `"ALGO"` would be $$0$$ because it doesn't have lowercase letters. The count is $$0$$.
|
85
|
|
85
|
|
86
|
- c. the score for `"sancochin"` would be $$0$$ because it contains **only** lowercase letters. The count is $$9$$.
|
|
|
|
|
86
|
+ c. the score for `"sancochin"` would be $$0$$ because it contains **only** lowercase letters. The count is $$9$$.
|
87
|
|
87
|
|
88
|
4. **Digits**: the score is $4n$ if the password consists of a mix of digits **AND** at least another type of character (lowercase, uppercase, symbols). If not, the score is $$0$$. For example,
|
88
|
4. **Digits**: the score is $4n$ if the password consists of a mix of digits **AND** at least another type of character (lowercase, uppercase, symbols). If not, the score is $$0$$. For example,
|
89
|
|
89
|
|