Home All Groups Group Topic Archive Search About

Encyrption in VB and Decryption in VB.NET

Author
17 Jan 2006 2:34 PM
VJ
Hi,

I have to encryt a file in my vb application and pass that file over the
internet to my another web application that will decrypt the file. In dot
net we have many options for encryt/decrypt. Does any body have a code
written in VB which supports any of the .Net decryption.


Thanks

VJ

Author
18 Jan 2006 3:29 AM
Jim Wooley
"VJ" <s*@ss.com> wrote in message
news:ux72kM3GGHA.3752@TK2MSFTNGP11.phx.gbl...
> I have to encryt a file in my vb application and pass that file over the
> internet to my another web application that will decrypt the file. In dot
> net we have many options for encryt/decrypt. Does any body have a code
> written in VB which supports any of the .Net decryption.

It is possible to consume .Net libraries from VB6. Is that an option in your
situation? You will need to sign your component and register it properly,
but you should be able to use it then.

Jim
Author
19 Jan 2006 5:41 AM
VJ
Dear Jim,

I cannot install the dot net framework at client side, so this option wont
help.

thanks
VJ

Show quoteHide quote
"Jim Wooley" <jwool***@bellsouth.net> wrote in message
news:Nzizf.229$jn2.4@bignews3.bellsouth.net...
> "VJ" <s*@ss.com> wrote in message
> news:ux72kM3GGHA.3752@TK2MSFTNGP11.phx.gbl...
>> I have to encryt a file in my vb application and pass that file over the
>> internet to my another web application that will decrypt the file. In dot
>> net we have many options for encryt/decrypt. Does any body have a code
>> written in VB which supports any of the .Net decryption.
>
> It is possible to consume .Net libraries from VB6. Is that an option in
> your situation? You will need to sign your component and register it
> properly, but you should be able to use it then.
>
> Jim
>
Author
20 Jan 2006 4:21 AM
Jim Wooley
How secure do you need the encryption? Would ROT13 work (see
http://en.wikipedia.org/wiki/ROT13). You should be able to do this or some
other simple encryption in VB6 fairly easily. You can get progressively more
secure, but you would probably need to get more intricate in your VB6 code.
Just how secure do you need?

The harder part would be secure key management. With any encryption scheme,
if you can get the key, you can usualy open the door. Since you are working
on multiple computers it sounds like the DPAPI is out.

Jim Wooley

Show quoteHide quote
"VJ" <s*@ss.com> wrote in message
news:e$ZXVsLHGHA.2940@tk2msftngp13.phx.gbl...
> Dear Jim,
>
> I cannot install the dot net framework at client side, so this option wont
> help.
>
> thanks
> VJ
>
> "Jim Wooley" <jwool***@bellsouth.net> wrote in message
> news:Nzizf.229$jn2.4@bignews3.bellsouth.net...
>> "VJ" <s*@ss.com> wrote in message
>> news:ux72kM3GGHA.3752@TK2MSFTNGP11.phx.gbl...
>>> I have to encryt a file in my vb application and pass that file over the
>>> internet to my another web application that will decrypt the file. In
>>> dot net we have many options for encryt/decrypt. Does any body have a
>>> code written in VB which supports any of the .Net decryption.
>>
>> It is possible to consume .Net libraries from VB6. Is that an option in
>> your situation? You will need to sign your component and register it
>> properly, but you should be able to use it then.
>>
>> Jim
>>
>
>