PDA

View Full Version : [vBulletin] getting number of characters in password


assassingod
03-23-2003, 08:25 AM
How would I go about retreiving the number characters a user's password has and then displaying them in *?

Thanks

Overgrow
03-23-2003, 12:41 PM
You can't reverse an md5 hash. You'd have to store the strlen($bbpassword) in a new field when they change or first enter it.

assassingod
04-13-2003, 03:41 PM
(Forgot about this;))

Ok, howabout just getting the number of characters in the password then?

Xenon
04-13-2003, 03:50 PM
even that's impossible after md5 hashing the pw.

as overgrow said, you have to store the length when they enter it.

assassingod
04-13-2003, 04:00 PM
Alright, thanks anyway.

I'll try it that way but I guess i will have to think of another of doing my new hack;)