Click here to Skip to main content
16,010,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting text from an edit box Pin
*Dreamz13-Dec-04 19:50
*Dreamz13-Dec-04 19:50 
GeneralRe: Getting text from an edit box Pin
aaadetos13-Dec-04 20:27
aaadetos13-Dec-04 20:27 
GeneralRe: Getting text from an edit box Pin
*Dreamz14-Dec-04 19:05
*Dreamz14-Dec-04 19:05 
GeneralRe: Getting text from an edit box Pin
aaadetos15-Dec-04 10:23
aaadetos15-Dec-04 10:23 
GeneralRe: Getting text from an edit box Pin
*Dreamz15-Dec-04 17:07
*Dreamz15-Dec-04 17:07 
GeneralRe: Getting text from an edit box Pin
Antony M Kancidrowski14-Dec-04 6:51
Antony M Kancidrowski14-Dec-04 6:51 
GeneralRe: Getting text from an edit box Pin
toxcct14-Dec-04 4:48
toxcct14-Dec-04 4:48 
QuestionHow to generate human friendly product keys using asymmetric crypto? Pin
Jim Howard13-Dec-04 6:06
Jim Howard13-Dec-04 6:06 
I would like to generate human friendly product keys similar to what Microsoft and many others do. The keys should have the property of being 25 or 30 characters.

I need to be able to generate many individual keys, on the order of 10000 or so probably.

They should be generated in such a way that it is easy to verify that a particular key is one which I generated, but hard for someone else to generate the identical list of keys. I am aware of commerical products that do this, but it seems like something that wouldn't be that hard to reinvent.

It appears to me that this requirement calls for use of an asymmetric crypto algorithm.

Like all locks, this one is intended to help honest people stay honest. I'm not too worried about the hacker with a disassembler, but it ought to be at least challenging for him to generate a valid product key.

Any suggestions, especially pointers to sample code, will be greatly appreciated.

Jim
AnswerRe: How to generate human friendly product keys using asymmetric crypto? Pin
Chris Losinger13-Dec-04 7:49
professionalChris Losinger13-Dec-04 7:49 
GeneralRe: How to generate human friendly product keys using asymmetric crypto? Pin
Jim Howard13-Dec-04 7:59
Jim Howard13-Dec-04 7:59 
GeneralRe: How to generate human friendly product keys using asymmetric crypto? Pin
Chris Losinger13-Dec-04 8:30
professionalChris Losinger13-Dec-04 8:30 
Generalend of sizing or moving windows Dialog Pin
Thierry Lebrun13-Dec-04 5:26
Thierry Lebrun13-Dec-04 5:26 
GeneralRe: end of sizing or moving windows Dialog Pin
Phil J Pearson13-Dec-04 5:48
Phil J Pearson13-Dec-04 5:48 
GeneralRe: end of sizing or moving windows Dialog Pin
toxcct13-Dec-04 7:48
toxcct13-Dec-04 7:48 
GeneralRe: end of sizing or moving windows Dialog Pin
Blake Miller14-Dec-04 4:37
Blake Miller14-Dec-04 4:37 
GeneralRe: end of sizing or moving windows Dialog Pin
Thierry Lebrun14-Dec-04 8:29
Thierry Lebrun14-Dec-04 8:29 
GeneralSome help please Pin
Tom Wright13-Dec-04 5:12
Tom Wright13-Dec-04 5:12 
GeneralRe: Some help please Pin
Phil J Pearson13-Dec-04 5:46
Phil J Pearson13-Dec-04 5:46 
GeneralRe: Some help please Pin
Tom Wright13-Dec-04 6:02
Tom Wright13-Dec-04 6:02 
GeneralRe: Some help please Pin
Maximilien13-Dec-04 6:09
Maximilien13-Dec-04 6:09 
GeneralRe: Some help please Pin
Tom Wright13-Dec-04 6:12
Tom Wright13-Dec-04 6:12 
GeneralRe: Some help please Pin
PJ Arends13-Dec-04 7:00
professionalPJ Arends13-Dec-04 7:00 
GeneralRe: Some help please Pin
Tom Wright13-Dec-04 9:36
Tom Wright13-Dec-04 9:36 
GeneralRe: Some help please Pin
toxcct13-Dec-04 7:50
toxcct13-Dec-04 7:50 
GeneralCSpinButtonCtrl object Pin
poornimac8013-Dec-04 5:05
poornimac8013-Dec-04 5:05 

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.