dropbox / zxcvbn-ios

A realistic password strength estimator.
https://tech.dropbox.com/2012/04/zxcvbn-realistic-password-strength-estimation/
MIT License
223 stars 64 forks source link

The iOS port of the Zxcvbn library is caching values #26

Open asiby opened 4 years ago

asiby commented 4 years ago

When using the zxcvbn-ios library and calling the scorePassword:userInputs method several times with varying user inputs, the previous values of the user input can no longer be used as strong password anymore. Their score will drop to zero ... which is an indication that they are present in the user input.

I have a pull request that I will soon submit.