Deye

Decrypt File

3 posts in this topic

#1 ·  Posted (edited)

Anyone can suggest of a way to _Crypt_DecryptFile to Array on the go, just like IniReadSection would do for an ini without decrypting to file at first

using an encrypted ini here ..

TIA

Edited by Deye

Share this post


Link to post
Share on other sites



@Deye,

actually, that would be a lot easier than you might think.

look inside the _Crypt_DecryptFile function. you'll see it reads the encrypted file, decrypts it in memory, then writes the decrypted data to file. you should be able to rewrite it to return the decrypted data as a string.

then, parsing the data in memory is easy. i remember @guinness has a nice UDF to handle ini file in memory, although i cannot seem to locate that topic at the moment.

1 person likes this

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks Orbs

Ok, looking for that   "UDF to handle ini file in memory,"  by guiness

Edited by Deye

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now