Basic encryption and data transmission
Posted on 2004-04-08
I have to write an application in VB6 to implement some basic encryption algorithm and subsequently transmit this ciphertext across a LAN to another terminal where it will be decrypted. This algorithm will be devised by me and doesnt have to be hacker proof just make the data pretty unreadable. Since the data is not neccesarily ASCII (ie could be images etc.) I was thinking that the best course of action would be to do some data manipulation (such as simple XOR) on the binary data of the file.
My overall question is would the MSCOMM control be the best thing to use the get the PC's to communicate? I will simply be setting up 2 PC's in a lab, connected by a crossover cable in order to demonstrate my program.
How do I go about opening a file in binary format, to do the encryption on it?
Im a bit of a newbie so any suggestions at all would be greatly appreciated. Thanks for your time. Steve