Click here to Skip to main content
15,895,746 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
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 
0x01AA wrote:
I don't agree. If I encrypt the hash with my private key, the application can still check the encrypted hash with it's public key.
Signing is a bit more complex than hashing and encrypting. Yes, your app can decrypt the hashcode and verify, but what's the use? Most Linux-apps simply state the MD5 publicly, just because it doesn't need to be a secret Smile | :)

0x01AA wrote:
I agree completely. That is the other part which makes me headache, because I think it ends always more or less with a final something like if(lic)
You're thinking in terms of security. Think of the worst thing you could encounter when trying to break it.

Imagine a non-descript class, initialized with some weird defaults. Next, pick a random "if" in your application (one that breaks the app if done wrong) and add a check for the weird default of the non-descript class. Multiply ints for positioning controls by a random letter from Application.ProductName, and divide by a similar constant grabbed elsewhere. Consider it obfuscation of that single "if (lic)" statement. Check the Weird & Wonderfull forum for some nice pieces of code with weird side-effects or hard to read statements. Make it look like a bug, not security!

You will hate me for the suggestion if you have to do some maintenance though Big Grin | :-D
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

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 
QuestionGraphic design Pin
Bivhab Sarker7-May-18 3:50
Bivhab Sarker7-May-18 3:50 
AnswerRe: Graphic design Pin
Kats251210-May-18 2:31
Kats251210-May-18 2:31 
QuestionSQL 2016 Optimization ... Pin
Member 138060854-May-18 1:09
Member 138060854-May-18 1:09 
RantRepost Pin
CHill604-May-18 1:14
mveCHill604-May-18 1:14 
QuestionMaster Data RAD Design Pin
sandeepnair853-May-18 3:18
sandeepnair853-May-18 3:18 
AnswerRe: Master Data RAD Design Pin
Gerry Schmitz5-May-18 4:57
mveGerry Schmitz5-May-18 4:57 
GeneralRe: Master Data RAD Design Pin
sandeepnair855-May-18 5:06
sandeepnair855-May-18 5:06 
GeneralRe: Master Data RAD Design Pin
Gerry Schmitz5-May-18 5:31
mveGerry Schmitz5-May-18 5:31 
AnswerRe: Master Data RAD Design Pin
jschell5-May-18 11:37
jschell5-May-18 11:37 

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.