[Tutor] encryption for files/passwords

Ben Sherman bensherman at gmail.com
Sat May 19 06:48:47 CEST 2007

On 5/18/07, Rohan Deshpande <rohan.deshpande at gmail.com> wrote:
> Hey all,
> I am writing a small python script to maintain some passwords and
> identity info.  All the data is in an external file.  what is the best
> way to encrypt/decrypt this file's data using a key? I am new to
> encryption methods let alone how to do it in python.  I had a look at
> python-crypto, ezPyCrypto and yawPyCrypto but they seemed overkill?

If you only need to encrypt passwords, look at the crypt module - it does
one way password hashing.

Good luck!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070519/e4731189/attachment.htm 

More information about the Tutor mailing list