You asked help to
and find the encryption algorithm in order to code a keygen
, and not saying that it wasn't a misunderstanding, but a keygen is indeed an illegal piece of software.

If you do want help making one:

http://digg.com/programming/Making_a...ow_it_is_done_