Create An 18 Digit Serial Key

Posted on
Create An 18 Digit Serial Key Average ratng: 6,3/10 34 reviews

Minitab 18 Product Key List Generator With Crack Smaller than normal tab 18 Activation Key enhances the nature of data and business through savvy information analysis.It is a fantastic companion of student and business fellow to the class that creates reports and database.

Active7 years, 11 months ago

I have devices with unique serial number (string incremetation) ex : AS1002 and AS1003.

I need to figure out an algorithm to produce a unique activation key for each serial number.

What would be the best approach for this ?

Thanks !

(This has to be done offline)

kd7
26.3k10 gold badges64 silver badges94 bronze badges
DavidDavid

5 Answers

Create an 18 digit serial key code

You have two things to consider here:
- Whatever key you generate must be able to be entered easily, so this eliminates some weird hash which may produce characters which will be cumbersome to type, although this can be overcome, it’s something you should consider.
- The operation as you stated must be done online

Firstly, there will be no way to say with absolute certainty that someone will not be able to decipher your key generation routine, no matter how much you attempt to obfuscate. Just do a search engine query for “Crack for Xyz software”.

This has been a long battle that will never end, hence the move to deliver software as services, i.e. online where the producer has more control over their content and can explicitly authorize and authenticate a user. In your case you want to do this offline. So in your scenario someone will attach your device to some system, and the accompanying software that you intend to write this routine on will make a check against the serial number of the device v/s user input.

Based on @sll’s answer, given the offline nature of your request. Your best, unfortunately would be to generate a set of random codes, and validate them when user’s call in.

Here is a method borrowed from another SO answer, I've added digits as well

So, generating one for each of your devices and storing them somewhere might be your only option because of the offline considerations.

This routine will produce strings like this when set to create a 10 digit string, which is reasonably random.

3477KXFBDQ
ROT6GRA39O
40HTLJPFCL
5M2F44M5CH
CAVAO780NR
8XBQ44WNUA
IA02WEWOCM
EG11L4OGFO
LP2UOGKKLA
H0JB0BA4NJ
KT8AN18KFA

Community
kd7kd7
26.3k10 gold badges64 silver badges94 bronze badges

By far the most secure way to do it is to have a centralized database of (serial number, activation key) pairs and have the user activate over the internet so you can check the key locally (on the server).

In this implementation, the activation key can be completely random since it doesn't need to depend on the serial number. Driver tuner 3.5 serial key.

BlindyBlindy
45k7 gold badges69 silver badges110 bronze badges

You want it to be easy to check, and hard to 'go backwards'. You'll see a lot of suggestions for using hashing functions, those functions are easy to go one way, but hard to go backwards. Previously, I phrased that as 'it is easy to turn a cow into a hamburger, but hard to turn a hamburger into a cow'. In this case, a device should know its own serial number and be able to 'add' (or append) some secret (usually called 'salt') to the serial and then hash or encrypt it.

If you are using reversible encryption, you want to add some sort of 'check digit' to the serial numbers so that if someone does figure your encryption scheme out, there is another layer for them to figure out.

An example of a function that is easy enough to 'go backwards' was one I solved with Excel while trying to avoid homework.

And you probably want to make things easier for your customers by making the encoding less likely to be messed up when the activation codes are handwritten (such as you write it down from the email then walk over to where the device is and punch the letters/digits in). In many fonts, I and 1, and 0 and O are similar enough that many encodings, such as your car's VIN do not use the letters i and o (and I remember older typewriters that lacked a key for the digit 1 because you were expected to use lowercase L). In such cases, Y, 4 and 7 can appear the same depending on some handwriting. So know your audience and what are their limits.

Community
TangurenaTangurena
2,0061 gold badge19 silver badges35 bronze badges

How about: Invent a password that is not revealed to the user. Then concatenate this password with the serial number and hash the combination.

Anything you do can be broken by a dedicated enough hacker. The question is not, 'Can I create absolutely unbreakable security?' but 'Can I create security good enough to protect against unskilled hackers and to make it not worth the effort for the skilled hackers?' If you reasonably expect to sell 10 million copies of your product, you'll be a big target and there may be lots of hackers out there who will try to break it. If you expect to sell a few hundred or maybe a few thousand copies, not so much.

Create An 18 Digit Serial Key

JayJay
22.8k9 gold badges50 silver badges94 bronze badges

If your device has some secured memory which can not be read by connecting an programmator or an other device -you can store some key-code and then use any hashing algorithm like MD5 or SHA-1/2 to generate hash by:

And pairs of SERIALNUMBER + KEYCODE should be stored in local DB.

In this way: (offline)

  • Client calling you and asking for the Activation Code
  • You asking for a SERIALNUMBER of particular device
  • Then you search for a KEYCODE by a given SERIALNUMBER in your local DB and generate Activation Code (even using MD5 this will be sacure as long KEYCODE is privately stored in your DB)
  • Client enter Activation Code into the device, device able to generate hashby own SERIALNUMBER and KEYCODE and then compare to Activation Code entered by user

This could be simplified by storing activation code itself if device has a secured memory onboard (like SmartCards has). In this way you can just keep own database of SerialCode - ActivationCode pairs.

sllsll
50.8k15 gold badges89 silver badges136 bronze badges

Not the answer you're looking for? Browse other questions tagged c#.netasp.netvb.netalgorithm or ask your own question.

Minitab 18 Product Key List Generator With Crack Full Free Download

Create An 18 Digit Serial Key Generator

Minitab 18 Product Key List Generator With Crack might be the Report results which can be readied. This implies you’re managing little work that ‘s hard create introductions. It gives amazing and precise creation that is introduction prepared. This PC programming is available for the organization, students, authorities, and additionally different clients. Minitab 18 Product Key is settling different scientific situations and exhaustive, compact report that is numerical. It can produce and spare yourself diagnostic data of any issue. It_will serves to investigation the report painstakingly that one can give at last maintaining a business meetings or officers. It explains detailing that is handbook explanatory data examination problems. Minitab 18 Product Key will help you to raise the proceeding with organizations productivity.

Minitab 18 Product Key List Generator With Crack

Smaller than normal tab 18 Activation Key enhances the nature of data and business through savvy information analysis.It is a fantastic companion of student and business fellow to the class that creates reports and database. It settle all conditions that are numerical. It spares you an opportunity to brief data which is extraordinary investigation reports, and statically data. Clients will get preparing and effectively deliver reports in less time. It offers all statically information investigation and knowledge which can be numerical apparatuses. It offers a creation that is exact for investigation. Its program that is graphical will your capacities and enhance your organization proficiency. Diagnostic officers can without much of a stretch prepare yield that is introduction less time. Use this PC programming whenever anyplace when you wish precise diagnostic, numerical reports.

Create an 18 digit serial key generator

Highlights:

Create An 18 Digit Serial Key Codes

  • Utilize macros that incorporate specimen information
  • It contains glossary of factual phrasing
  • Utilization of a lot of designs.
  • Pick the correct approach to perform distinctive errands
  • Explore your information
  • Utilize ideal settings with reaction streamlining agent
  • Test Poisson rate tests for training
  • Utilize illustrations, framework plots, graphs and boxplots
  • Recognize factors consequently
  • Choice of factorial, outlines, and considerably more.
  • Create reports inside no time