[Tutor] encryption for files/passwords

Rohan Deshpande rohan.deshpande at gmail.com
Sat May 19 16:07:13 CEST 2007

Thanks, but I want to be able to encrypt *files* with passwords in
them.. the passwords being the sensitive data :)

Any other ideas?

On 5/19/07, Ben Sherman <bensherman at gmail.com> wrote:
> 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!

More information about the Tutor mailing list