Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to check or calculate password strength in java
Posted

1 solution

Check whether the password has
- a certain length
- capital letters in it
- non letters in it.

You can also add a certain valid time for the password to let it expire.

The check of the password is homework kind of coding, so I won't post code for that.
 
Share this answer
 
Comments
Akshayy Tikekarr 26-Mar-12 6:12am    
Thank u don't post the code.. length can be checked how can i check that lowercase is present or uppercase is present.,
krumia 26-Mar-12 8:33am    
Check the ascii codes. Google ASCII chart and you'll get the ascii codes of lower/uppercase.
Akshayy Tikekarr 27-Mar-12 8:20am    
thankx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900