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
Thanks for the feature suggestion. I especially appreciate that you provided an example interface.
I like the interface you suggested. One minor question whoever implements this has to decide is what the behavior should be when the min length provided is less than what the character set rules require.
^ the implicit minimum length (based on the character set rules) is 3, but the user specified minimum is 2.
Broadly speaking, I can think of two ways to handle this:
Throw an error to tell the developer that their expectations might be wrong
Calculate the effective min as Math.max(min, implicitMin), as long as max >= implicitMin
Personally I'm leaning towards 2, but I think either behavior is fine.
I can probably implement this feature myself sometime in the next few weeks. However, if someone else is interested to do it, please go ahead. (Just be sure to add unit tests for it.)
Hi,
It would be great to be able to specify a length range to generate a password:
It would generate a password and its length would randomly be between 8 and 16.
😃
The text was updated successfully, but these errors were encountered: