mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-14 21:51:24 -05:00
![Patrick Sean Klein](/assets/img/avatar_default.png)
Limit the use of zxcvbn based password entropy estimation to 256 bytes. After this threshold, the average per-byte entropy from the zxcvbn calculation is added for each additional byte. In practice, this produces a slightly higher entropy calculation for purely randomized passwords than zxcvbn would normally calculate. However, the time to calculate is capped leading to a much better user experience and removing unnecessary calculations. Fixes #7712