You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
verifyPasswordWith has an additional parameter of type (Int -> Int) with the description "A function to modify the strength"
makePasswordWith doesn't have this parameter. IMHO it's more consistent to either offer this parameter for both functions or not at all.
Also, the documentation is a bit misleading: "modify the strength" made me assume I just have to use the identity function if I didn't want to modify the strength (and why whould I want to?, I thought) Little did I realize that I needed to supply (2^) if I wanted to be able to successfully verify passwords hashed with makePasswordWith...
The text was updated successfully, but these errors were encountered:
verifyPasswordWith has an additional parameter of type (Int -> Int) with the description "A function to modify the strength"
makePasswordWith doesn't have this parameter. IMHO it's more consistent to either offer this parameter for both functions or not at all.
Also, the documentation is a bit misleading: "modify the strength" made me assume I just have to use the identity function if I didn't want to modify the strength (and why whould I want to?, I thought) Little did I realize that I needed to supply (2^) if I wanted to be able to successfully verify passwords hashed with makePasswordWith...
The text was updated successfully, but these errors were encountered: