Results 1 to 3 of 3

Thread: Reading Encrypted INI

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    65

    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.

  2. #2
    Frenzied Member ae_jester's Avatar
    Join Date
    Jun 2001
    Location
    Kitchener Ontario Canada Earth
    Posts
    1,545
    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.

  3. #3
    Lively Member ranma_at's Avatar
    Join Date
    Oct 2002
    Location
    @ Home
    Posts
    72
    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
  •  



Click Here to Expand Forum to Full Width