U
U
urez2020-11-06 08:46:55
JavaScript
urez, 2020-11-06 08:46:55

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

2 answer(s)
A
Alexander, 2020-11-06
@AleksandrB

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

X
xmoonlight, 2020-11-06
@xmoonlight

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 question

Ask a Question

731 491 924 answers to any question