1 reply
by stillatit
A software key is basically a password, but instead of a simple compare to a known value in the program, typically a software key is manipulated in some way, and the result is then validated.
In the simplest case, a software key is a string of numbers and letters. The program performs some unrevealed operations on the key plus some other information internal to the program, and compares the result with either an internal value or with a value computed from applying a different algorithm to the key. If the program gets a match, it continues. If not, it exits.
Example of a very simple key system:
A key is 12 digits. The first 10 digits must be divisible by 11, and the sum of the first 10 digits, modulo 100, must match the last two digits.
Example of a harder key:
Some positions of the key string are key, some are data. Take the key characters, DES encrypt some string in memory, and check if the result matches the data characters in the key.
There is basically no limit to the complexity of a software key. Notice that Microsoft has gone from an 11 digit key on Office 97 to a very much longer key for Office 2000. Some companies use key files, with very long keys, for example the unix ifor licensing system, which uses a 60 character key per program licensed.
Hope this helps.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending