Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Encrypt a text file?

Received: by 10.66.86.39 with SMTP id m7mr433218paz.4.1349786019361;
        Tue, 09 Oct 2012 05:33:39 -0700 (PDT)
Path: t10ni23658747pbh.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!news.mi.ras.ru!goblin1!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.grnet.gr!news.ntua.gr!not-for-mail
From: George Petasis <petas...@yahoo.gr>
Newsgroups: comp.lang.tcl
Subject: Re: Encrypt a text file?
Date: Sat, 06 Oct 2012 13:34:56 +0300
Organization: National Technical University of Athens, Greece
Lines: 45
Message-ID: <k4p1gi$1cuc$1@news.ntua.gr>
References: <k4oo2h$csa$1@news.ntua.gr> <k4ou6b$jlt$1@dont-email.me>
NNTP-Posting-Host: athedsl-191348.home.otenet.gr
Mime-Version: 1.0
X-Trace: news.ntua.gr 1349519698 46028 85.74.67.18 (6 Oct 2012 10:34:58 GMT)
X-Complaints-To: usenet@news.ntua.gr
NNTP-Posting-Date: Sat, 6 Oct 2012 10:34:58 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
In-Reply-To: <k4ou6b$jlt$1@dont-email.me>
Bytes: 2641
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Dear Christian,

The user of the product is a computer engineer. Just opening it in a 
text editor, the fact that it is a zip file will show. And then it will 
be easy to get the contents.

The text files contain an electronic dictionary, and I want to protect this.

George

Στις 6/10/2012 12:38 μμ, ο/η Christian Gollwitzer Î­Î³Ï Î±ÏˆÎµ:
> Hi George,
>
>
> Am 06.10.12 09:53, schrieb George Petasis:
>> I have a small product in tcl, and I want to somehow "obfuscate" the
>> data files it uses (txt files). For the tcl code I am going to use
>> ActiveState's TDK.
>>
>> Is there an extension that will allow me to obfuscate/encrypt a text
>> file?
>>
>
> 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