Closed cacharrin closed 2 years ago
It seems the test fails, I suggest use forums for questions. If you find a bug, please submit a new pull request.
Yes, the test failed because you asked me to add a failing test...
the test should pass, but is failing because codes generated by hashids are equal when using differente salts
PR to demostrate an error with different salt generating the same code.
It generates the same code, no matter how many 'a' you append to the salt of the last hashids instance.
Expected behavior: codes should be different (every salt should generate a different code) Note: Using short salt always generate different codes.