Check a string being passed and determine if it passes as a valid password that follows a list of constrai The function StringChallenge(str) take the str parameter being passed and determine if it passes as a valid password that follows the list of constraints: 1.It must have a capital letter. 2. It must contain at least one number. 3. It must contain a punctuation mark. 4.It cannot have the word "password" in the string. 5. It must be longer than 7 characters and shorter than 31 characters. If all the above constraints are met within the string, the program should return the string true, otherwise the program should return the string false,
-
Notifications
You must be signed in to change notification settings - Fork 0
Netshilonwe/PasswordValidation.java
About
Check a string being passed and determine if it passes as a valid password that follows a list of constraints
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published