Encrypting and Decrypting a text file

Alphanumeric
05-05-2001, 03:28 PM
Hello!

I am making a program that created a very imporant textfile database of important user information that only the program itself should be able to read. So I want to have the program decrypt it upon running, and encrypt it again when closing the program. How would this be done? I am kind of a newbie. :smile:

Thanks
<font color=red>ALPHANUMERIC</font color=red>

taj134
05-05-2001, 03:56 PM
I've recently completed a program that opens and saves encrypted files, which it can decode,
All you I think you should do is open the file to a string, decode the string, and display it, and when you save, copy the text from the box into a string, encode the string and save that.
if you want to see my source code email, it's a bit big 282K, so I'll email it to you if you want it
you might find it useful

Toby

p.s. If anyone else wants the source, email me as well

toby@madtaj.cjb.net

If a orange was purple, would we still call it an orange?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum