Click here to Skip to main content
15,894,646 members
Home / Discussions / C#
   

C#

 
GeneralRe: TopMost Window Pin
Christian Graus18-Jan-06 8:54
protectorChristian Graus18-Jan-06 8:54 
AnswerRe: TopMost Window Pin
DigitalKing17-Jan-06 14:18
DigitalKing17-Jan-06 14:18 
Questionhey guys check this out Pin
abstarsss17-Jan-06 13:30
abstarsss17-Jan-06 13:30 
AnswerRe: hey guys check this out Pin
Christian Graus17-Jan-06 14:15
protectorChristian Graus17-Jan-06 14:15 
QuestionTripleDES encryption. Anyone want to help? Pin
jbergetun17-Jan-06 12:31
jbergetun17-Jan-06 12:31 
AnswerRe: TripleDES encryption. Anyone want to help? Pin
Colin Angus Mackay17-Jan-06 23:03
Colin Angus Mackay17-Jan-06 23:03 
GeneralRe: TripleDES encryption. Anyone want to help? Pin
jbergetun18-Jan-06 7:48
jbergetun18-Jan-06 7:48 
GeneralRe: TripleDES encryption. Anyone want to help? Pin
Colin Angus Mackay18-Jan-06 11:39
Colin Angus Mackay18-Jan-06 11:39 
jbergetun wrote:
The server allready know the DES key but would also need the IV to decrypt the message. Am I right ?


Right. The client and server are both using the same key, but the client generates the IV when it communicates with the server (and vice versa) so it needs some way of communicating the IV to the server.


jbergetun wrote:
After opening a TCP connection to the server, the client first receives 14
random bytes.


the random bytes are the IV I'd guess*, there is no other reason for starting the communication with 14 random bytes. The IV is typically XORed into the start of the data stream rather than the key - I'm not sure what the effect would be, it is randomising the key so that the encrypted version of the user name and password being sent is at least different each time it is sent.


* "guess" being the operative word

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

GeneralRe: TripleDES encryption. Anyone want to help? Pin
jbergetun19-Jan-06 10:21
jbergetun19-Jan-06 10:21 
QuestionWaiting for Event to fire Pin
Bralyan17-Jan-06 12:29
Bralyan17-Jan-06 12:29 
Questioncalculating fraction in c# Pin
two_man_only17-Jan-06 12:02
two_man_only17-Jan-06 12:02 
AnswerRe: calculating fraction in c# Pin
Christian Graus17-Jan-06 14:03
protectorChristian Graus17-Jan-06 14:03 
GeneralRe: calculating fraction in c# Pin
two_man_only24-Jan-06 12:02
two_man_only24-Jan-06 12:02 
GeneralRe: calculating fraction in c# Pin
Christian Graus24-Jan-06 12:04
protectorChristian Graus24-Jan-06 12:04 
GeneralRe: calculating fraction in c# Pin
two_man_only25-Jan-06 1:11
two_man_only25-Jan-06 1:11 
QuestionGracefully shutting down threads Pin
User 665817-Jan-06 11:44
User 665817-Jan-06 11:44 
AnswerRe: Gracefully shutting down threads Pin
CWIZO17-Jan-06 21:15
CWIZO17-Jan-06 21:15 
GeneralRe: Gracefully shutting down threads Pin
User 665818-Jan-06 2:12
User 665818-Jan-06 2:12 
GeneralRe: Gracefully shutting down threads Pin
CWIZO18-Jan-06 3:01
CWIZO18-Jan-06 3:01 
QuestionVS 2005 UK edition Pin
pieterman17-Jan-06 11:44
pieterman17-Jan-06 11:44 
AnswerRe: VS 2005 UK edition Pin
Christian Graus17-Jan-06 14:03
protectorChristian Graus17-Jan-06 14:03 
GeneralRe: VS 2005 UK edition Pin
pieterman18-Jan-06 7:03
pieterman18-Jan-06 7:03 
QuestionTry/Catch Variable Scoping Pin
RobertF5717-Jan-06 11:34
RobertF5717-Jan-06 11:34 
AnswerRe: Try/Catch Variable Scoping Pin
Guffa17-Jan-06 11:50
Guffa17-Jan-06 11:50 
GeneralRe: Try/Catch Variable Scoping Pin
RobertF5717-Jan-06 11:55
RobertF5717-Jan-06 11:55 

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.