On Thu, Apr 04, 2013 at 01:02:21AM +0200, Luigi Toscano wrote: > Have you seen this? > https://fedorahosted.org/libpwquality/ > https://fedoraproject.org/wiki/Features/PasswordQualityChecking
It doesn't contain any docs about how it calculates anything that I can find, which is a bit worrying. From looking at the code it looks very simplistic. But why not simply use cracklib? Or you could try to compress the string with qCompress/zlib to find a measure of the entropy contained? -- Martin Sandsmark