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

C#

 
GeneralRe: Curly braces matcher Pin
Frank Olorin Rizzi28-Aug-03 1:34
Frank Olorin Rizzi28-Aug-03 1:34 
Generalhttp post Pin
Jan Vercauteren27-Aug-03 13:04
Jan Vercauteren27-Aug-03 13:04 
GeneralRe: http post Pin
Kannan Kalyanaraman27-Aug-03 23:09
Kannan Kalyanaraman27-Aug-03 23:09 
GeneralRe: http post Pin
Jan Vercauteren28-Aug-03 6:42
Jan Vercauteren28-Aug-03 6:42 
GeneralDataGrid - Click anywhere and act like you clicked to the far left. Pin
mikemilano27-Aug-03 10:46
mikemilano27-Aug-03 10:46 
GeneralRe: DataGrid - Click anywhere and act like you clicked to the far left. Pin
A.Wegierski27-Aug-03 19:49
A.Wegierski27-Aug-03 19:49 
QuestionHow to make shift/Ctrl Key press work within Datagrid? Pin
Chris#27-Aug-03 10:37
Chris#27-Aug-03 10:37 
GeneralImageList Pin
Katrina Gee27-Aug-03 8:17
Katrina Gee27-Aug-03 8:17 
GeneralRe: ImageList Pin
Ista28-Aug-03 3:22
Ista28-Aug-03 3:22 
QuestionC# & mySQL - What Driver To Use? Pin
mikemilano27-Aug-03 8:10
mikemilano27-Aug-03 8:10 
AnswerRe: C# & mySQL - What Driver To Use? Pin
Daniel Turini27-Aug-03 12:19
Daniel Turini27-Aug-03 12:19 
AnswerRe: C# & mySQL - What Driver To Use? Pin
zecodela27-Aug-03 22:28
zecodela27-Aug-03 22:28 
General.NET crypto Pin
devvvy27-Aug-03 8:01
devvvy27-Aug-03 8:01 
GeneralRe: .NET crypto Pin
David Stone27-Aug-03 11:19
sitebuilderDavid Stone27-Aug-03 11:19 
GeneralRe: .NET crypto Pin
devvvy27-Aug-03 13:18
devvvy27-Aug-03 13:18 
GeneralRe: .NET crypto Pin
devvvy27-Aug-03 13:35
devvvy27-Aug-03 13:35 
GeneralRe: .NET crypto Pin
devvvy27-Aug-03 13:38
devvvy27-Aug-03 13:38 
GeneralRe: .NET crypto Pin
David Stone27-Aug-03 20:38
sitebuilderDavid Stone27-Aug-03 20:38 
GeneralRe: .NET crypto Pin
David Stone27-Aug-03 20:31
sitebuilderDavid Stone27-Aug-03 20:31 
GeneralRe: .NET crypto Pin
David Stone27-Aug-03 20:24
sitebuilderDavid Stone27-Aug-03 20:24 
GeneralRe: .NET crypto Pin
devvvy28-Aug-03 0:34
devvvy28-Aug-03 0:34 
Thanks for the patience!

David Stone wrote:
STEP 1: say once you have determined the legal size:
max 128
min 16
skip 16
STEP 2: Your key legal size is therefore: {16, 32, 48, 56... 128}



>> No, I think I agree with you. {16, 32, 48, 56... 128} are just "possible" or "legal" value for key. And sure, 1 byte=8 bit=256 possibilities.

One HEX digit = 4 bits --> So, if key size=56bit, we can define key with 14 HEX digit. we can therefore write:

byte[] MyKey = {0x10, 0x12, 0x0A, 0x3B, 0x2D, 0x81, 0x7D}

Is this correct?

David Stone wrote:
string myPassword
byte[] passBytes = System.Text.Encoding.Default.GetBytes(myPassword);


That's a good trick.





norm
GeneralRe: .NET crypto Pin
David Stone28-Aug-03 9:06
sitebuilderDavid Stone28-Aug-03 9:06 
GeneralExtract Heading from a word doc Pin
kanch eramudu27-Aug-03 5:29
kanch eramudu27-Aug-03 5:29 
GeneralAttachment with Outlook express Pin
Velichko Sarev27-Aug-03 1:53
Velichko Sarev27-Aug-03 1:53 
GeneralAdministrator Privileges Pin
Manoj_kr7427-Aug-03 0:42
Manoj_kr7427-Aug-03 0:42 

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.