Delphi code (or component) to check passwords against a dictionary - and a dictionary to use
Posted on 2009-05-15
I am looking for code or a component to check passwords against a dictionary - and it needs to include the dictionary (US).
Something like pam_cracklib over in the UNIX world does. This is NOT for a Windows password, but for passwords used in our programs. We check for minimum length, types of characters, and repeated passwords but don't have a "dictionary file" to compare the passwords again. So something like 1Password$ might pass the length and character type checks, but should fail a dictionary check since it uses a common word - a "dictionary word".
A US dictionary file would be a great start, but if someone already has written the code to do the lookups that would be even better.