Jump to content
Tuts 4 You

[keygenme] Back to basics


HMX0101

Recommended Posts

I miss one thing to make a keygen (maybe two) and need your help please.

We have Name -> CRC32(Name) -> Take signed number

I stuck in bold line :D how can i make signed number? I don't know to do in delphi, i know a few in delphi, give me some help please :)

Link to comment

I miss one thing to make a keygen (maybe two) and need your help please.

We have Name -> CRC32(Name) -> Take signed number

I stuck in bold line :D how can i make signed number? I don't know to do in delphi, i know a few in delphi, give me some help please :)

Sorry idid, :woot:

I can't understand clearly. What you want, but i am posting an example in C.

IF CHAR Name[]="NAME";

then you can do CRC32((UNSIGNED)Name);

  • Like 1
Link to comment

Thank for answering :)

Exactly i need signed number or convert from unsigned to signed number :) And exactly i don't know what is signed and unsiged number (please don't say "you need learn more") , it maybe is stupid question, but please help me, or give me some link on internet, because i learn by practice, learn from "top to bottom" :D

In this keygen: CRC(Name) + 0x13333337 = x

when i calc by calculator of windows, i receive unsigned number

With this name: Lovemagic, i have x in unsigned number is E2F46698, but signed is -487299432, i don't know how to take signed number :(

I searched on internet and in delphi's help but didn't find anything :(

@Blue Indian: Thank for your code in C but i don't know C so it's not help me, but very happy with your code :)

Edited by kakamail
Link to comment

With this name: Lovemagic, i have x in unsigned number is E2F46698, but signed is -487299432, i don't know how to take signed number :(

I searched on internet and in delphi's help but didn't find anything :(

You are mixing up hex (E2F46698) and decimal (-487299432) numbers, it has nothing to do with signed/unsigned numbers.. ;)

But, if your problem really is about signed/unsigned numbers, then in Delphi: longword and dword are unsigned, longint is signed. There is no conversion required, it's a matter of simple cast, like this: longint($E2F46698);

Example app:


{$APPTYPE CONSOLE}
uses windows;
var
d : dword;
l : longint;
begin
d := $E2F46698;
l := longint(d);
writeln(d);
writeln(l);
end.

will print:


3807667864
-487299432

First one is unsigned, second - obviously signed. :)

I suggest that you take a good beginners book (eg. Delphi in a Nutshell) and start reading it. ;) "Delphi 6 Developer's Guide" is not bad either but little bit more complicated.

  • Like 1
Link to comment

You are mixing up hex (E2F46698) and decimal (-487299432) numbers, it has nothing to do with signed/unsigned numbers.. ;)

But, if your problem really is about signed/unsigned numbers, then in Delphi: longword and dword are unsigned, longint is signed. There is no conversion required, it's a matter of simple cast, like this: longint($E2F46698);

Your code is useful for me, thank you very much :flowers::thumbsup::yahoo::sweat:

And i know what's main problem :D

Link to comment

oop...! It's difficult to make a keygen, thought that solved it, but i'm wrong :kick: I'm surrender >"< :D

Edited by kakamail
Link to comment
chickenbutt

The code is small, most of the routines are CRC algo, threading, and window messaging. I started on it yesterday but had to go do other stuff.

I might take another look. Looks like nobody else is doing keygens anymore.

Link to comment

I'm sure that i understand whole the algo, but i can't make a keygen. :( Waiting someone post a keygen, i will borrow a source code :D

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...