I am working on a password validation algorithm that needs to check potential passwords against the dictionary. If the password or any part of it can be found in the dictio
I think there is no need for checking against a dictionnary, especially if you want to reject even a part of your password. English has a lot of small words and extending to multilingual dictionnaries would possibly prevent using any password of a reasonable size without haven every other letter being a 'z' 'q' or 'y': 'a' 'on' 'in' 'je' 'um' 'o' etc.
I don't fully understand why you're caring about a password in a dictionary when you can easily impose other simple rules:
The password with minimum length of 8 chars must consist of: