Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Change the image on a button Pin
Michael Sync21-Aug-07 15:13
Michael Sync21-Aug-07 15:13 
AnswerRe: Change the image on a button Pin
TomGarth21-Aug-07 13:07
TomGarth21-Aug-07 13:07 
QuestionHow to loop thru a datagrid to get difference for each record Pin
Smokeywade20-Aug-07 10:40
Smokeywade20-Aug-07 10:40 
QuestionVB excel autofilter Help Pin
VBHelpIsNeeded20-Aug-07 9:56
VBHelpIsNeeded20-Aug-07 9:56 
QuestionEASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno20-Aug-07 9:15
Joey Picerno20-Aug-07 9:15 
AnswerRe: EASY SIMPLE, Never done keypress, help.... Pin
nlarson1120-Aug-07 16:55
nlarson1120-Aug-07 16:55 
GeneralRe: EASY SIMPLE, Never done keypress, help.... Pin
Joey Picerno21-Aug-07 3:02
Joey Picerno21-Aug-07 3:02 
QuestionEncryption Pin
Dominick Marciano20-Aug-07 7:15
professionalDominick Marciano20-Aug-07 7:15 
I am writing a program for someone and they wanted the strongest encryption method I could think of. I tried out a scheme but I have no way of knowing how strong it is.

Basically two passwords are entered and the file to be encrypted is selected. Let's assume the file is 1,024 bytes (1 KB). The software opens up the file and loads it into a byte array. Then it fills two different byte array with VS 2005 cryptographic random numbers. It XOR the data with the first random array and then XOR the result of the first XOR with the second random array. The first random array is encrypted with AES (Rijndael 512) with the first password. Then the second array is encrypted with Triple DES with the second password. Finally all three arrays are written to a file.

My question is what test can be preformed on such a file to tell if it is actually well encrypted? Statistical test? I know this seems like a little overboard but the person I'm doing this for did not want just encryption with AES or DES but wanted something beyond that and I was trying to aim for the strength obtained when one-time truely random pad data is used? Does this come close to it?

Does this method actually make the file more secure because it is relying on two seperate passwords and two sets of random data? Decrypting just one random pad will not decrypt the file and two different encryption algorithms are used at two seperate parts?

Comments and feedback are welcome.
AnswerRe: Encryption Pin
Mark Churchill20-Aug-07 21:39
Mark Churchill20-Aug-07 21:39 
QuestionHow to avoid html tag in body of mail while saving to db. [modified] Pin
rahul.net1120-Aug-07 5:12
rahul.net1120-Aug-07 5:12 
AnswerRe: How to avoid html tag in body of mail while saving to db. Pin
nlarson1120-Aug-07 17:00
nlarson1120-Aug-07 17:00 
Questionhelp Pin
padbindu20-Aug-07 4:06
padbindu20-Aug-07 4:06 
AnswerRe: help Pin
Christian Graus20-Aug-07 12:17
protectorChristian Graus20-Aug-07 12:17 
QuestionHelp with aScheduling grid/Table Pin
Mr Oizo20-Aug-07 2:07
Mr Oizo20-Aug-07 2:07 
AnswerRe: Help with aScheduling grid/Table Pin
Johan Hakkesteegt31-Aug-07 3:01
Johan Hakkesteegt31-Aug-07 3:01 
QuestionHow to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 1:49
rahul.net1120-Aug-07 1:49 
AnswerRe: How to write to new line using streamwriter. Pin
Rami Said Abd Alhalim20-Aug-07 2:21
Rami Said Abd Alhalim20-Aug-07 2:21 
GeneralRe: How to write to new line using streamwriter. Pin
Rami Said Abd Alhalim20-Aug-07 2:25
Rami Said Abd Alhalim20-Aug-07 2:25 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:32
rahul.net1120-Aug-07 4:32 
AnswerRe: How to write to new line using streamwriter. Pin
Rupesh Kumar Swami20-Aug-07 2:28
Rupesh Kumar Swami20-Aug-07 2:28 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:31
rahul.net1120-Aug-07 4:31 
AnswerRe: How to write to new line using streamwriter. Pin
Luc Pattyn20-Aug-07 2:33
sitebuilderLuc Pattyn20-Aug-07 2:33 
GeneralRe: How to write to new line using streamwriter. Pin
rahul.net1120-Aug-07 4:30
rahul.net1120-Aug-07 4:30 
AnswerRe: How to write to new line using streamwriter. Pin
Csharp™20-Aug-07 20:22
Csharp™20-Aug-07 20:22 
AnswerRe: Help me to create SYNTAX TREE according to our own created grammar Pin
Dave Kreskowiak20-Aug-07 2:16
mveDave Kreskowiak20-Aug-07 2:16 

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.