Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator will generate the same string when called multiple times #1

Open
graemechristie opened this issue Aug 15, 2013 · 0 comments

Comments

@graemechristie
Copy link

You should declare a single instance of Random as an object property. Currently, the code as it stands will generate the same password if called twice or more within the same 16 ms timeframe, as you Random instance is seeded from the system ticks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant