Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generate same password in the same second
Message
From
12/11/2008 08:58:02
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01360833
Message ID:
01361299
Views:
12
>So what password length are you using? Even a length of 7 puts the odds at several million to one.
>If that's not good enough you could include numbers and/or case sensitive alphas.
>But how many users are you expecting and what are the real consequences of generating two identical consecutive passwords?
>Do you envisage either party being able to make use of the fact (even if they knew it had occurred)?
>IAC, if you really cannot accept consecutive identical values then you have no option except to check them as they are generated.

Like I said, it is not about getting unique values over a long period. It is just that the random is not affected if I call the function twice in a row. I have to wait at least a second so the second call to the method would be returned ok with a different values.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform