Martin Hewitson wrote:

Is anybody aware of a reasonable algorithm or some code that can be used to test/check the strength of a password? I'd like to give a kind of score or a color (red,yellow,green). I've looked at cracklib, but that doesn't give a score, really.


Google keywords: password strength checker code

There seem to be plenty of these available in Javascript, which doesn't seem overly difficult to translate.

The gist of most code seems to be to score different character classes (alpha, num, punct, etc.), mixed case, and the overall length. There doesn't seem to be any standard for scoring, though.

  -- GG

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to