|
-
May 22nd, 2003, 03:36 AM
#1
Thread Starter
Fanatic Member
Generate a check digit (3 figure)
I have a three figure ID code that users enter. (Less than one thousand) this integer number must be passed to the function and a check code returned.
This code must be vertually unguessable and very unlikely to be entered by accident.
This is part of a security system for signing up new users.
Any ideas for a good formula? It's got to stop the user from useing the softwear with out phoneing head office for their unique ID.
-
May 25th, 2003, 05:01 PM
#2
Hyperactive Member
If its only 3 digits you could use a hash. Something like MD5 maybe.
-
May 26th, 2003, 04:32 AM
#3
Fanatic Member
-
May 29th, 2003, 03:52 AM
#4
Thread Starter
Fanatic Member
Sigh... you could be right (both)...
What I was looking to try and do ammounts to an unlock key based on the F_id which would (should) be unique per user as it is assigned by HO at distribution time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|