Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 10:35
sponsorJudah Gabriel Himango3-May-05 10:35 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 20:46
professionalAnthony Mushrow3-May-05 20:46 
GeneralRe: Games and depth of objects - help =) Pin
Anonymous3-May-05 8:30
Anonymous3-May-05 8:30 
GeneralPiping data when using Process class Pin
CTaylor893-May-05 7:41
CTaylor893-May-05 7:41 
GeneralRe: Piping data when using Process class Pin
CTaylor893-May-05 11:48
CTaylor893-May-05 11:48 
GeneralKeep additional information inside a "serial number" Pin
eclipse2k13-May-05 7:33
eclipse2k13-May-05 7:33 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind3-May-05 23:36
mav.northwind3-May-05 23:36 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 1:57
eclipse2k14-May-05 1:57 
Hello mav,

first of all thanks for your reply. i guess this is a not so bad attempt how to keep the key quite secure. but i am also missing the direct context to my problem...

Ok, i wrote my little encryption library and just keep the key hardcoded. i know that its easy to retrieve the key by disassembling or just debugging the libraries but currently that doesnt matter at all. So currently i am using the TripleDES symmetrical provider to encode the data. in contrast to the MD5 hash algorithm, where i always get very nice 32-bit strings, which are very usable for serial numbers, the encryption results in varying lengths of the encoded string as "ugly" Base64 Encoded Strings or Hex-Strings, which look better but are also longer.

ok now i could create my object which holds all the information needed, it could be xml-serialized then, and encrypted. but i get a very long encrypted string, much to long: We will send the most of our serials by Fax! I wonder, how i could keep the Serial Number still quite plain, maximum 32-40 Characters, and keep the information stored?

Regards,
Thomas

GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind4-May-05 3:24
mav.northwind4-May-05 3:24 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 3:43
eclipse2k14-May-05 3:43 
GeneralStrip Non-Numeric characters from string Pin
RadioButton3-May-05 7:20
RadioButton3-May-05 7:20 
GeneralRe: Strip Non-Numeric characters from string Pin
Judah Gabriel Himango3-May-05 8:27
sponsorJudah Gabriel Himango3-May-05 8:27 
GeneralRichTextControl and Unicode problems with russian characters Pin
Uwe Keim3-May-05 6:40
sitebuilderUwe Keim3-May-05 6:40 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
Judah Gabriel Himango3-May-05 8:10
sponsorJudah Gabriel Himango3-May-05 8:10 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
Uwe Keim3-May-05 8:44
sitebuilderUwe Keim3-May-05 8:44 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
mav.northwind3-May-05 23:41
mav.northwind3-May-05 23:41 
GeneralRe: RichTextControl and Unicode problems with russian characters Pin
Uwe Keim4-May-05 0:39
sitebuilderUwe Keim4-May-05 0:39 
QuestionProcedure line separator? Pin
Carl Mercier3-May-05 6:22
Carl Mercier3-May-05 6:22 
GeneralManaging controls added at runtime Pin
Anonymous3-May-05 5:07
Anonymous3-May-05 5:07 
GeneralRe: Managing controls added at runtime Pin
MoustafaS3-May-05 5:18
MoustafaS3-May-05 5:18 
GeneralPrinting HTML from memory no User interaction Pin
gjvh3-May-05 4:29
gjvh3-May-05 4:29 
GeneralDouble buffering an entire form... Pin
MynaBay3-May-05 4:23
MynaBay3-May-05 4:23 
GeneralRe: Double buffering an entire form... Pin
Gil.Schmidt3-May-05 4:57
Gil.Schmidt3-May-05 4:57 
GeneralBeginner Problems Pin
dbuggerusa3-May-05 3:57
dbuggerusa3-May-05 3:57 
GeneralRe: Beginner Problems Pin
Dwayner793-May-05 4:34
Dwayner793-May-05 4:34 

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.