Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variation on Encrypt /Dencrypt function..
Message
De
13/10/2003 16:17:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Variation on Encrypt /Dencrypt function..
Divers
Thread ID:
00838304
Message ID:
00838304
Vues:
69
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform