473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Encyrption in VB and Decryption in VB.NET

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
Jan 17 '06 #1
3 1877
"VJ" <ss@ss.com> wrote in message
news:ux**************@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
Jan 18 '06 #2
VJ
Dear Jim,

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

thanks
VJ

"Jim Wooley" <jw******@bellsouth.net> wrote in message
news:Nz*************@bignews3.bellsouth.net...
"VJ" <ss@ss.com> wrote in message
news:ux**************@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

Jan 19 '06 #3
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

"VJ" <ss@ss.com> wrote in message
news:e$**************@tk2msftngp13.phx.gbl...
Dear Jim,

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

thanks
VJ

"Jim Wooley" <jw******@bellsouth.net> wrote in message
news:Nz*************@bignews3.bellsouth.net...
"VJ" <ss@ss.com> wrote in message
news:ux**************@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


Jan 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: D. Alvarado | last post by:
On my Fedora Core 2 Linux dev box, I have installed mcrypt and compiled PHP with the --with-mcrypt option. I am concerned that when I move to another hosting enviornment mcrypt will not be...
1
by: Jase H | last post by:
Hello, I have a ASP.NET web application problem involving the data encryption and decryption assembly(DLL) used on the connection string value that is set in the webconfig file. The problem...
1
by: Martin | last post by:
Hi Im trying to make a Client/Server where im going to encrypt the stream but i cant get it to work. I can recieve and send as long as im not trying to send/recieve encrypted. but when i am i cant...
2
by: sushant.bhatia | last post by:
Hi All. I'm using the NCrypto dll for RSA Encryption/Decryption (http://sourceforge.net/projects/ncrypto/). My encryption code in .Net is pretty simple. The dataToEncrypt length is 1024. The...
2
by: almurph | last post by:
Hi everyone, Can you help me please? I am having a problem with the encryption/decryption of words with the Irish fada in them. The Irish fada is like this: áéíóú/ÁÉÍÓÚ. It's kind of like the...
1
by: BigLuzer | last post by:
hi i am using the following setup: - .net 1.1 - 2 load-balanced iis servers - DPAPI machine store. - C# - i encrypted the connection string separately, one on each machine. the error i get...
13
by: Tom Andrecht | last post by:
I'm trying to get some encryption/decryption routines going to take care of my data, and while the encryption is working great, I keep running into the message "Padding is invalid and cannot be...
5
by: Netwatcher | last post by:
well, i started messing around with dictionaries, yet, most of the pages i found about them always talk about getting only one word out of it and turning it vice versa, i've been playing with that...
9
by: Betikci Boris | last post by:
I get bored last night and wrote a script that uses xor for encrypt- decrypt, however it woks fine under linux 2.6.25, text and documents are ok, but fails on compressed files *.jpg, *.pdf , etc ....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.