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

Fixes crackTimeDisplay returns "instant" for large passwords #4

Closed michaelbaisch closed 10 years ago

michaelbaisch commented 10 years ago

When seconds (crackTime) is larger than 31Bit it becomes negative resulting in "instant" as crackTimeDisplay.

Fixes: #3

leah commented 10 years ago

Thanks!!