home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <string.h>
- int main()
- {
- char name[100];
- int namelen, count;
- unsigned int temp1 = 0;
- unsigned int temp2 = 0;
- unsigned int temp3 = 0;
- unsigned long serial = 0;
-
- printf("iCECREAM's first Crackme, Key Generator\n");
- printf("Coded by Thallium, <Thallium@iName.com>\n");
- printf("\nEnter your name: ");
- gets(name);
- namelen = strlen(name);
-
- for(count = 0 ; count < namelen ; count++)
- {
- temp2 = (name[count] * 2) + temp2 + 0x3a;
- temp3 = (name[count] - 4) + temp1;
- temp1 = (name[count] - 4) * 2 + temp3;
- }
-
- serial = temp1 + temp2 + 0x7d3c;
-
- printf("\nYour serial number is: %lu", serial);
-
- return 0;
- }
-