Very good suggestion! Thanks! I knew about TrueCrypt before (it's
really excellent) but I didn't think of it for this purpose because it
didn't show up when I did a Synaptic search. I'll see if I can get it
installed on ubuntu and used with Python. Actually, the URL you give
doesn't work (at least for me). But I found the following by googling
the URL:

http://blog.bjrn.se/2008/02/truecrypt-explained-truecrypt-5-update.html

On Mon, Jun 22, 2009 at 3:46 AM, Daniele<d.co...@gmail.com> wrote:
>> From: Wayne <sri...@gmail.com>
>
>> If you want the most basic encryption you could simply XOR the file. It's 
>> fairly easy to break, though, because the same character patterns will be 
>> present as with your original file.
>
> Actually if you do it properly this kind of encryption is unbreakable,
> but you'd have to:
> 1. generate a random key long enough to cover your data
> 2. keep the key secure and in a separate place
> 3. DON'T use the key twice
>
> there must be a Security Now episode that explains the thing pretty
> well (could be this one http://www.grc.com/sn/sn-011.htm).
> Some arguments may rise against the randomness of the key, but I don't
> think its the case to go into that.
>
> You could also use TrueCrypt which is an extremely powerful
> cryptographic software (open source), I found this article that can
> help you linking it with python:
> http://blog.bjrn.se/2008/01/truecrypt-explained.html
>



-- 
Robert Lummis
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to