Subject: | Minor differences from the JS implementation |
First, thanks so much for providing this library. The code looks to be of high quality and it seems to be a faithful port of the algorithm.
While evaluating this library using a list of leaked passwords, I found two minor variations in score:
1. "pool" is 0 in the JS implementation and 1 in the Perl implementation.
2. "quatrain" is 1 in the JS implementation and 2 in the Perl implementation.
I didn't dig into these at all. It is possible it is an unavoidable rounding difference or something along those lines, but I thought it was worth raising here.
Thank you!
Greg