Deye Posted June 26, 2016 Share Posted June 26, 2016 (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 June 26, 2016 by Deye Link to comment Share on other sites More sharing options...
orbs Posted June 26, 2016 Share Posted June 26, 2016 @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. Deye 1 Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
Deye Posted June 26, 2016 Author Share Posted June 26, 2016 (edited) Thanks Orbs Ok, looking for that "UDF to handle ini file in memory," by guiness Edited June 26, 2016 by Deye Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now