General information
Category:
Coding, syntax & commands
Title:
Variation on Encrypt /Dencrypt function..
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only