Hi.
I was wondering how can I generate a strong and secure password in C#.
I googled a little bit and saw this formula in Wikipedia, where L
is the length of the password and N
is the number of possible symbols:
...but I'm only 13 years old, I have no idea how to implement it in a programming language (I don't even understand it lol).
Also, I've found this question, but for some reason the method Membership.GeneratePassword
just returns a random number with 1 digit, which absolutly not a password. All the rest solutions, were very slow (>= 0.5 secs).
If you can help me to implement this formula (I don't know where to start), suggest another solution or if you know why the GeneratePassword
isn't working, I'd thank you very much...
Thanks.