make a keygen with vb

cpp Canada
  • 16 years ago

    I want to know how i can make a keygen with vb ???
    someone help !

  • 16 years ago

    I am assuming you mean a keygen for an app you've written (i.e., not like you are trying to
    crack software, because those are two entirely different things).

    pick any algorithm, and make a mathematical keygen on it.
    most common is to do the following:

    1. Get your string that you'll create a license key on, i.e., most common is a username, i.e.,
    "Bob Smith".
    2. Easy algorithm -- go through each character in the string one by one, and convert it to ASCII,
    and "add" the numerical values together as a string.
    Which would then look something like: 66111983283109105116104
    (based on ASCII values of "66-111-98-32-83-109-105-116-104")
    3. Then, if you wanted to make it look more 'official' like a license key, you might say replace
    spaces with "-", so you would get: 6611198-83109105116104
    which "looks" like an official license key. Now technically -- in this example, to make it easier to
    'reverse' the process & verify the key, we'll use the one where each character is split up by a dash (-).
    (That is because in this example ascii values can have 1, 2, or 3 characters per code. If you didn't want
    to do that, you'd simply figure out something, i.e., making all 'codes' exactly 3 chars long and left padding
    with 0's, or something like that.).

    To "verify" the license key, you would do the exact opposite.
    You would 'break apart' each part of the key, and see whether or not it matches
    So, you'd take: 66-111-98-32-83-109-105-116-104 and split by "-", and then convert back to characters,
    in this case it would 'convert' back to "Bob Smith".

    Now, you'd check and see that the match code matches the one you just entered.
    This is ONE way of doing it, and is called a reversible key (extremely easy), sometimes
    provides extra protection (as opposed to a one way key), depending on how you implement it.

    To make it more complicated, simply add some kind of math formula to the numeric values you
    have, and there you go.

  • 15 years ago

    how do u make a key gen for lets say a pc game how would i do it and wat would i need to make a key gen

  • 15 years ago

    coolio has just explained how to make a keygen..... it would make no difference what the keygen was for, it's still the same concept so why do you say "for, let's say, a pc game"??

    my sixth sense suggests very strongly to me that you want to make a keygen for illegal reasons, specifically to generate a serial key for a program for which you don't have a licence. this is illegal and I would warn you that discussions of this nature are stictly forbidden on Developer Fusion and we do not allow, condone or endorse any illegal activity whatsoever.

    If, however, your motives are kosher then you are invited to display this and you will then be allowed (and encouraged) to continue the discussion

  • 15 years ago


    How to Handle TBN_DropDown Command in VC++.

    Is it Handled by ToolBar Parent or ToolBar Itself.

    Any Answer regarding this Really Thank full in Advance


  • 15 years ago

    you just posted in the "Developer Fusion News" forum in the "make a keygen with vb" topic.  now this topic is in the wrong place to begin with.  your post should be in its own topic on the C++ forum which can be located here:

  • 15 years ago

    moved to C++

  • 10 years ago

    Hope this one is not about cracking but about how to have a licensing scheme for your own app. If you want to develop one yourself, use cryptographic public key algorithm such as RSA. If you are looking for a ready-made licensing scheme, consider CryptoLicensing.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If Java had true garbage collection, most programs would delete themselves upon execution.” - Robert Sewell