Re: reversible whole number license key

From: lallous (lallous_at_lgwm.org)
Date: 08/06/03


Date: Wed, 6 Aug 2003 10:41:17 +0300

One simple way is to encode the license data, that is:

1)build the license data (licenses count, user name, ....) as a string or
buffer
2)encrypt then encode that buffer say into base 64 or base 10
3)append a number to its end for its validation

to check the license validity:
1)check the validation data
2)if okay, decrypt then decode the license data back into a buffer
3)extract needed values from buffer.

Many license systems I saw use such method.

Regards,
Elias