• I would like to localize the zxcvbn script used for password strength evaluation. I have 99% percent of the data available in my language (french), but I have one question about the zxcvbn script distributed with WP. Looking at the dictionnaries, they look like obfuscated, while in the “offical” version of the script available on https://github.com/dropbox/zxcvbn they are not. This obfuscation is not so difficult to decode but brings a little bit more complexity to break the evaluation.
    Is there a way to have an access to the modifications made to the original zxcvbn script to include it.

Viewing 1 replies (of 1 total)
  • Thread Starter jyd44

    (@jyd44)

    OK,
    for those who don’t know, here is the obfuscation function:
    u = function(b) {
    return b.replace(/[a-zA-Z]/g, function(a) {
    return String.fromCharCode((“Z” >= a ? 90 : 122) >= (a = a.charCodeAt(0) + 13) ? a : a – 26)
    })
    };
    It’s a reversible function, so it’s no problem to integrate it into a localized version.

Viewing 1 replies (of 1 total)

The topic ‘zxcvbn localization’ is closed to new replies.