Hi George,
Am 06.10.12 09:53, schrieb George Petasis:
why do you want to obfuscate the data files? Is it only to keep a casual
user from inspecting it, or do you want to achieve some security?
If the first case, I recommend the approach used by OO, Word and many
other commercial packages: Create a zip file, e.g. using
http://wiki.tcl.tk/15158
and just store it with a file name other than .zip. This has the big
advantage, that on request from the users, you can simply unzip this
file and inspect it without any hassle.
ZIP also supports simple encryption, but this is not handled by the code
on the wiki. The additional benefit of ZIP is that you can store more
complex documents as logical folders.
Christian
PS: Last time I checked, mkzip on the wiki had some bug that prevented
file names with spaces. I should check the patched version in our
commercial software to update the wiki