Answer the question
In order to leave comments, you need to log in
Password entropy calculation based on the Russian language dictionary. Implementations?
Are there ready-made implementations for evaluating entered passwords on a non-English dictionary base. Moreover, taking into account that 50/50 is the use of Russian keys in the Glian layout? Of the implementations, js is convenient, but the main thing is the essence of the algorithm.
Answer the question
In order to leave comments, you need to log in
What is the problem with writing such an algorithm? You get a string, then
1) If the password is > 8 characters - continue (put 1 stick of complexity out of 4), no - discard
2) If the password contains numbers - add a stick
3) There is at least one capital - more + 1
4) If the characters , like [email protected]#$%^... - more + 1
Next, we check the resulting number and, depending on its value, issue or not issue an error.
Everything goes through a banal search for a character in a string
Interleaving groups of character sets.
Then, we multiply the prime numbers going in order in the number of alternations of these groups.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question