Skip to content

Check a string being passed and determine if it passes as a valid password that follows a list of constraints

Notifications You must be signed in to change notification settings

Netshilonwe/PasswordValidation.java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

PasswordValidation.java

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,

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

No packages published