Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variation on Encrypt /Dencrypt function..
Message
From
13/10/2003 16:17:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Variation on Encrypt /Dencrypt function..
Miscellaneous
Thread ID:
00838304
Message ID:
00838304
Views:
67
Hi,

I am trying to make a function that can generate an unlock code and
verify an unlock code. It doesnt have to be 100% secure just not easily
guessable. The twist is I have the following inputs:

serial number: 1234567
number of users: 100
password: test

FUNCTION MakeUnlockCode(lcSerials,lcUsers,lcPassword)
RETURNS unlockcode..

FUNCTION CheckUnlockCode(lcSerial,lcUnlockCode
RETURNS Number of users or 0

So the problem is what algorithm or concept can I use to
get the desired results above?
Next
Reply
Map
View

Click here to load this message in the networking platform