Where do I find a dictionary for password validation?

前端 未结 9 1290
春和景丽
春和景丽 2020-12-30 14:29

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

9条回答
  •  庸人自扰
    2020-12-30 15:01

    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:

    • 2 to 8 uppercase characters
    • 2 to 8 lowercase characters
    • 2 to 8 numbers
    • 1 to 4 special characters (***+"%&/()?-[]{}\<> etc.)

提交回复
热议问题