Quote: "I tested it and its good, but why it uses only capital letters not whole ascii 0..255 when crypting? "FE7B92BDB9A8C30B2DC7BEC..." "
It's not using a weak character substitution cypher it's using military type hash encryption so it's storing DWORDS. The smallest way I could think of storing them as text was base16/Hex. It does make things 8x larger though. Using WRITE LONG to save as binary instead of writing strings should make it smaller.
It's completely configurable so if file size was more important to you than strong encryption you could also remove the randoms in char pair storage and encrypt a char quad instead. But without a bit of randomness patterns sometimes can be visible in short strings so you might want to read all the file into one loooong string to avoid this. However you could run out of memory if somone used a realy long file so you would have to handle this too. A hash quad should result in text file sizes 4x larger.
In theory you can write a 6 char pair. 3x larger files but I was having issues with val(dword) not working and I didn't want to require somone elses DLL to use my DLL.
I might add all the idead above after I get my interim report written for my Uni thesis, don't worry about using my functions now, I'll give any new functions a new name so it remains backward compatible.
Quote: "And the dll is quite massive, 720 kilos. "
I'm using Dev C I couldn't see a debug/release option on it does anyone know how to do this? I'm sure there will be debugging trash in there.
Quote: "I'll try it later, but why not post a .zip file containing all 4 files for easier download?
"
You only need the top 2 files. I thought it was easier to click these two than click a zip and go through the unzip process.