Login | |
|
 |
VBScript PIN validator - 6/21/2001 6:31:51 AM
|
|
 |
|
| |
anton
Posts: 11
Score: 0
Joined: 6/9/2001
From: USA
Status: offline
|
Hi, I have a script that produces random numbers between an upper and lower bound value. My random numbers can be between 4 and 8 digits long. I pass in how many digits the length has to be into the function. Basically i need to write a function that checks that my PIN's are not things like 1234, 1111, 2222, 3333, 9876 that kinda thing. Basically any numbers that would be easy to think of to try and hack into an account i want to preven being used, if this is the case then return false. Obviously if there are more than 4 digits then the same applies for > 4 . i.e. 12345, 54321, 11111, 22222, 123456, etc etc. Any suggestions appreciated!!
|
|
| |
|
|
|
|
|