Password Panel Sample Code

This sample code can (hopefully) be used by any application presenting a change password dialog to the user. Different dialogs allow the user to enter a new password or change a previously entered password. Dialogs can be presented as either standalone modal windows or sheets. Furthermore the user is informed of any problems or weaknesses with the password via a text field. The algorithm used to compute password strength can be overriden. The algorithm supplied with this sample code uses a dictionary lookup to check the password strength.

Also included with this sample code is an Objective C class that implements the bloom filter algorithm, see http://www.google.com/search?q=bloom+filter

Download: PasswordPanel.zip

Screenshots: Password Panel Screenshot

Update: Source code is now live on the Toxic Software subversion server:

http://toxic-public.googlecode.com/svn/tags/BlogTag_20070927_729/Projects/Misc/PasswordPanel/

This entry was posted in Default and tagged . Bookmark the permalink.
  • I like the idea of estimating how strong your password might be. Could be fun, give a level of abuse depending on how simple the password is.

    To extend the idea, use personal data entered to add to the ¨strength¨ test. Checking middle names, nicknames, spouses dog?
blog comments powered by Disqus