[Tutor] how to manage an encrypted file?

Chris Fuller cfuller084 at thinkingplanet.net
Sat Jun 20 06:45:34 CEST 2009


On Friday 19 June 2009 17:23, Robert Lummis wrote:
> Could you recommend a module or methods I should use to manage an
> encrypted text file? I want to store passwords and associated contact
> information in a file and feel confident that if the file is stolen
> the information couldn't be read.

Use the PyCrypto module.

It (not so) recently changed maintainers, there isn't a release yet at the 
main site: http://www.dlitz.net/software/pycrypto/, so use the old site for 
now, http://www.amk.ca/python/code/pycrypto.html.  If you're using Linux, 
check to see if there's already a package for your distribution.

There are windoze binaries at 
http://www.voidspace.org.uk/modules.shtml#pycrypto.

Cheers




More information about the Tutor mailing list