Click here to Skip to main content
15,888,521 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Unified Naming Conventions Pin
Gerry Schmitz1-Jun-18 7:56
mveGerry Schmitz1-Jun-18 7:56 
GeneralRe: Unified Naming Conventions Pin
David A. Gray1-Jun-18 11:37
David A. Gray1-Jun-18 11:37 
GeneralRe: Unified Naming Conventions Pin
Gerry Schmitz3-Jun-18 6:22
mveGerry Schmitz3-Jun-18 6:22 
GeneralRe: Unified Naming Conventions Pin
David A. Gray3-Jun-18 13:00
David A. Gray3-Jun-18 13:00 
QuestionXML Based Blog Pin
Rakanoth28-May-18 1:50
Rakanoth28-May-18 1:50 
AnswerRe: XML Based Blog Pin
Eddy Vluggen30-May-18 2:21
professionalEddy Vluggen30-May-18 2:21 
QuestionHATEOAS With CQRS Pin
Samer Abu Obaid14-May-18 20:40
Samer Abu Obaid14-May-18 20:40 
QuestionActivation Key Generation - Crypt stuff Pin
User 1106097911-May-18 23:42
User 1106097911-May-18 23:42 
Dear experts
I need to secure an application to prevent from unauthorized use. I like to do this a simple as possible. This in regard to me to program it but also for the customers to make the handling as easy as possible for them.

At this moment, I try to prevent from creating something like a licensefile. My idea so far is:

User
The user gets displayed a so called SystemID: XXXX-XXXX-XXXX-XXXX

The System ID is generated by MD5 Hashing of e.g. [CPU ID, MOTHER BOARD ID, etc] and Base36 encoded.

Licensor
From the above SystemID a signature will be determined using a Private Key.
From this signature again a MD5 Hash will be calculated and encoded also in Base36.

Finally this will result in the activation key: YYYY-YYYY-YYYY-YYYY
This activation key will be used then (PUBLIC_KEY, ...) to verify the activation

My strange question
Is the above more or less secure? I know it is hard to give an answer, this in regard that I even don't know a scale to measure "secure".

Maybe the question should be more: Is it easy to hack this activation procedure?

For me it looks nearly uncrackable (or let's say it would be very difficult). But this also only because I have no affinity for these crypt stuff Big Grin | :-D

Remarks
- The application is Native W32 programmed in c++
- For me personally, hiding the final something like bool IsActivated() is at least same difficult/critical
- Base36: Looks like I Need to think about this again.... Base36_Enc(Max(uint_32)) will be "1z141z3"

Thank you very much in advance for your comments.
It does not solve my Problem, but it answers my question


modified 19-Jan-21 21:04pm.

AnswerRe: Activation Key Generation - Crypt stuff Pin
jschell12-May-18 10:36
jschell12-May-18 10:36 
GeneralRe: Activation Key Generation - Crypt stuff Pin
User 1106097912-May-18 11:14
User 1106097912-May-18 11:14 
GeneralRe: Activation Key Generation - Crypt stuff Pin
Eddy Vluggen12-May-18 14:59
professionalEddy Vluggen12-May-18 14:59 
QuestionRe: Activation Key Generation - Crypt stuff Pin
Randor 12-May-18 15:50
professional Randor 12-May-18 15:50 
AnswerRe: Activation Key Generation - Crypt stuff Pin
Eddy Vluggen13-May-18 0:58
professionalEddy Vluggen13-May-18 0:58 
GeneralRe: Activation Key Generation - Crypt stuff Pin
User 1106097913-May-18 5:37
User 1106097913-May-18 5:37 
GeneralRe: Activation Key Generation - Crypt stuff Pin
Eddy Vluggen14-May-18 1:40
professionalEddy Vluggen14-May-18 1:40 
GeneralRe: Activation Key Generation - Crypt stuff Pin
User 1106097914-May-18 2:45
User 1106097914-May-18 2:45 
GeneralRe: Activation Key Generation - Crypt stuff Pin
Eddy Vluggen14-May-18 3:38
professionalEddy Vluggen14-May-18 3:38 
GeneralRe: Activation Key Generation - Crypt stuff Pin
User 1106097914-May-18 4:08
User 1106097914-May-18 4:08 
GeneralRe: Activation Key Generation - Crypt stuff Pin
Eddy Vluggen14-May-18 4:34
professionalEddy Vluggen14-May-18 4:34 
GeneralRe: Activation Key Generation - Crypt stuff Pin
jschell19-May-18 5:50
jschell19-May-18 5:50 
AnswerRe: Activation Key Generation - Crypt stuff Pin
Randor 12-May-18 12:08
professional Randor 12-May-18 12:08 
GeneralRe: Activation Key Generation - Crypt stuff Pin
User 1106097913-May-18 3:49
User 1106097913-May-18 3:49 
GeneralRe: Activation Key Generation - Crypt stuff Pin
Randor 13-May-18 7:13
professional Randor 13-May-18 7:13 
AnswerRe: Activation Key Generation - Crypt stuff Pin
Gerry Schmitz13-May-18 6:32
mveGerry Schmitz13-May-18 6:32 
GeneralRe: Activation Key Generation - Crypt stuff Pin
User 1106097913-May-18 8:32
User 1106097913-May-18 8:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.