|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Decrypt file in VB6 encrypted in vb.netI have been trying for some days now to decrypt a file encrypted in VB.NET. - The algorithm being used is DES. - I understand that the cipher is CBC (by default). - ASCII key and IV supplied are 8 characters long - No base64 - No compression (although i dont know for sure. They dont set compression but still not convinved the the MS component maybe!?) Ive tried various VB6 DLLs but few accept the IV attributes. They are using the following code in VB.NET. - TheKey = ASCIIEncoding.ASCII.GetBytes("%4BEF8&2") - Vector = ASCIIEncoding.ASCII.GetBytes("7.B3*O3F") - Dim des As New DESCryptoServiceProvider() PLEASE help if you can. Ive searched a lot of different place but can see nothing that helps! About the only thing i can think is they read and encrypt the data in 4096 buffered blocks. I have a feeling that this maybe the issue???? Regards mark.br***@safefinancials.co.uk wrote:
> HELP It is unlikely that a VB6 DLL exists that implements the .NET > > I have been trying for some days now to decrypt a file encrypted in > VB.NET. > > - The algorithm being used is DES. > - I understand that the cipher is CBC (by default). > - ASCII key and IV supplied are 8 characters long > - No base64 > - No compression (although i dont know for sure. They dont set > compression but still not convinved the the MS component maybe!?) > > Ive tried various VB6 DLLs but few accept the IV attributes. ASCIIEncodeing class. > The reading and writing in 4096 byte blocks is probably done for speed > They are using the following code in VB.NET. > > - TheKey = ASCIIEncoding.ASCII.GetBytes("%4BEF8&2") > - Vector = ASCIIEncoding.ASCII.GetBytes("7.B3*O3F") > - Dim des As New DESCryptoServiceProvider() > > PLEASE help if you can. Ive searched a lot of different place but can > see nothing that helps! > > About the only thing i can think is they read and encrypt the data in > 4096 buffered blocks. I have a feeling that this maybe the issue???? purposes rather than anything nefarious. Do you have Visual Studio.NET? David Eather Someone is bringing a beta copy in today, so at least ill be able to
test from both ends. Very fustrating! Regards Found a component for www.weonlydo.com called WODCRYPT.
This component handles the IV and attributes useded within the .NET components. I had misconfigured this to start with, but once resolved it is doing the job extreamly well!!!! Thanks for your help
LogonUser Succeeds - but fails later
Getting User Information from a SID Forms Authentication Not Redirecting To Login Page Why defaultcredential doesn't use the impersonated user? Java security api - DCE 128bit encryption with .NET SecurityException: Request Failed on CreateInstanceAndUnwrap HttpWebRequest.GetRequestStream - Trust Failure In Windows Service Runtime error when running caspol w/ -pub -hex Propagate Credentials from Internet Explorer Host Instead of Defau problem to run WINDOW user control in IE |
|||||||||||||||||||||||