I am building an application that is using many .htm web pages with embedded .jpg images as links.
I am trying to find a way to encrypt those .jpg images (many utilities can do so), and when opened by my vb application they will be temporarily Decrypted for the duration of the viewing on screen , or while in use by my program, while the source is left encrypted as it is so that it CAN NOT be viewed by any viewer or program except the visual basic application that I am using.
ANother way of putting it is that I am trying to write my own format for those graphics files so that they can not be used except by the vb application that I have written.
Anybody has any suggestions on how to do this ?
10-09-2003 at 10:59 PM
|
vbgen Level: Moderator Registered: 10-10-2002 Posts: 876
Re: Encryption/Decryption of Image files
well, for now i can tell you that one way is to open the file binarily, then add some strings and numbers to encrypt it.
it's not a very good way, but it's a start, right?
____________________________
Been busy trying to take a second degree <--it's not working out...
11-09-2003 at 06:03 PM
|
JLRodgers Level: Moderator Registered: 04-04-2002 Posts: 1617
Re: Encryption/Decryption of Image files
Just so you know, which I'm sure you do. A screenshot will still show the graphic, so it'll only make it more difficult not impossible to get the graphic.
____________________________ Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
11-09-2003 at 07:05 PM
|
tmg Level: Guest
Re: Encryption/Decryption of Image files
quote:vbgen wrote:
well, for now i can tell you that one way is to open the file binarily, then add some strings and numbers to encrypt it.
it's not a very good way, but it's a start, right?
Thank you for your response .
I tried that , but I am unable to "Decrypt" the file.
Any suggestions where I can find sample programs or better documentation to use the binary read and write ?
11-09-2003 at 09:28 PM
|
tmg Level: Guest
Re: Encryption/Decryption of Image files
quote:JLRodgers wrote:
Just so you know, which I'm sure you do. A screenshot will still show the graphic, so it'll only make it more difficult not impossible to get the graphic.
Agreed, however if someone is willing to spend the time to screen capture ALL of the image files that are being used, then it is an effort that should be well rewarded. I estimate that I will have about 6-8 thousand image files.