0:00
Or it's a valid password.
00:01
So, they give you an example, is bookmark, would that be a valid password? well, let's check and see using the word bookmark and see if it would be valid.
00:12
First of all, you need to see, is it between 8 and 15 characters? so, you're going to say the length of the string, l -e -n, of the string is going to be greater than or equal to 8, and the length of the string, can't spell, is going to be less than or equal to 15.
00:31
And we see in this case that would be true.
00:34
So the second one, we need to have at least one digit.
00:39
So any character is a digit.
00:41
So you're going to look at that and say, is any character a digit? and in this case, it would be no.
00:46
So that bookmark would already be failing that particular.
00:49
But if we added a digit, then we could say then it would be valid.
00:53
So let's look at three.
00:55
At least one lowercase letter.
00:57
So any character is lowercase.
00:59
So we say yes that would be a valid thing to check.
01:02
So we have that checked...