Skip to content

It verifies if your password satisfy the required points to be enough strong.

License

Notifications You must be signed in to change notification settings

VirusZzHkP/Validating_Password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Validating_Password

Validating Password logo

Thought Process

Password checker program basically checks if the password is valid or not based on password policies mention below:

Password should not contain any space.
Password should contain at least one digit(0-9).
Password length should be between 8 to 15 characters.
Password should contain at least one lowercase letter(a-z).
Password should contain at least one uppercase letter(A-Z).
Password should contain at least one special character ( @, #, %, &, !, $, etc….).

Approach

In this program,

we are using String contains () method to check the passwords. This method accepts a CharSequence as an argument
and returns true if the argument is present in a string otherwise returns false.
Firstly the length of the password has to be checked then whether it contains uppercase, lowercase, digits and 
special characters.
If all of them are present then the method isValid(String password) returns true.

Made With ♥ - VirusZzHkP

About

It verifies if your password satisfy the required points to be enough strong.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages