Skip to content
Sign upLog in
← Back to Community

Simple password checker

Profile icon
Keith23

Is there any simple way to make a password checker which only checks for lower case, upper case and numbers in a password?

Cannot infer image mime type

Voters
Profile icon
Rallancez
Profile icon
Keith23
Comments
hotnewtop
Profile icon
nika5050a

You can check for different categories by converting your characters to their respective ASCII (standardized numeric codes) values using the ord() function.
The code below illustrates how you could do so for 4 different categories.

Cannot infer image mime type

As a reminder the ASCII code associates an integer value for each symbol in the character set, such as letters, digits, punctuation marks, special characters, and control characters.
You can see each of the codes at http://ee.hawaii.edu/~tep/EE160/Book/chap4/subsection2.1.1.1.html

Profile icon
migoyo

Admiring the full time and effort you add into your blog and detailed information you offer!.. เว็บแทงบอลที่ดีที่สุด