Password Checker

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Password Checker

Post by Vegan »

I was wondering if PHP can be leveraged for a password checker form. I was thinking it might be an idea to consider JavaScript too but I thought I would start here.

CHARACTER SET AVAILABLE CHARACTERS ENTROPY / CHAR
digits 10 (0-9) 3.32 bits
lower-case letters 26 (a-z) 4.7 bits
case sensitive letters and digits 62 (A-Z, a-z,0-9) 5.95 bits
all standard keyboard characters 94 6.55 bits

Sorry the table is messed up.

But given the various sets in use the entropy per symbol varies widely.

Perhaps a RegX might be the most expedient?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Password Checker

Post by Jonah Bron »

What are those decimal numbers? And what does "bits" mean? Try editing your post and wrapping the table with [text] [/ text] tags (the "Text" button) to retain the formatting.
Post Reply