|
-
Jun 18th, 2003, 08:38 AM
#1
Thread Starter
Lively Member
Reading Encrypted INI
Hi,
Can anyone advise me in how I can decrypt a file and then have my program read it.
I have managed to encrypt the ini file, and I am able to read the encrypted file and store this information in a richtextbox. I am able to convert this back into plain English (Read the encrypted file into richtextbox1, decrypt the the data from richtextbox1 to richtextbox2, richtextbox2 is now in English), but the problem I have is that my program does not want to read the data richtextbox2.
Is it possible to make my program read the ini data from a richtextbox, if so how can I go about doing that ? (Or is my approach wrong)
Any help is appreciated.
Thanks.
Al.
-
Jun 18th, 2003, 09:59 AM
#2
Frenzied Member
Rather than encrypt the entire file, coulnd't you just encrypt the values for each key? That way you can still use the INI functions to retrieve the values, and THEN encrypt them. If this isn't secure enough for you, then you are going to have to write your own routines that extract key's and values from a string of text, rather than a file.
-
Jun 18th, 2003, 12:35 PM
#3
Lively Member
encrypting the whole file is alot easier,
i had this problem already
Things are not happening to you, things are happening because of you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|