Have a look at the source code for KeePass Password Safe ( http://keepass.info/). It has a password generator and strength computation. Version 1.x is written in C++ for MS Windows (using MFC). Version 2.x is a rewrite in C# for .NET.
It has been ported as KeyPassX for Mac OS X and Linux. - h On Thu, Jan 7, 2010 at 11:51, Martin Hewitson <martin.hewit...@aei.mpg.de>wrote: > Dear list, > > 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. > > Best wishes, > > Martin > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Martin Hewitson > Albert-Einstein-Institut > Max-Planck-Institut fuer > Gravitationsphysik und Universitaet Hannover > Callinstr. 38, 30167 Hannover, Germany > Tel: +49-511-762-17121, Fax: +49-511-762-5861 > E-Mail: martin.hewit...@aei.mpg.de > WWW: http://www.aei.mpg.de/~hewitson <http://www.aei.mpg.de/%7Ehewitson> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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/hsiegel%40gmail.com > > This email sent to hsie...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com