Re: [Tutor] Encryption

2010-02-22 Thread Steven D'Aprano
On Tue, 23 Feb 2010 07:50:12 am Antonio Buzzelli wrote: > Hi everyone! > I need a simple way to encrypt and decrypt some strings with a key > > someone can help me?? > > Thanks. I am the author of this package which might be enough for you: http://pypi.python.org/pypi/obfuscate/ If all you want

Re: [Tutor] Encryption

2010-02-22 Thread Modulok
>> I need a simple way to encrypt and decrypt some strings with a key. Did you have any other requirements? Any specific algorithms or key lengths? If you need real encryption, you might check out a 3rd party module named 'PyCrypto'. It offers an implementation of the AES algorithm. A less eloque

Re: [Tutor] Encryption

2010-02-22 Thread Shashwat Anand
how about using base64? base64.encodestring(s) will do. On Tue, Feb 23, 2010 at 2:30 AM, Wayne Werner wrote: > On Mon, Feb 22, 2010 at 2:50 PM, Antonio Buzzelli > wrote: > >> Hi everyone! >> I need a simple way to encrypt and decrypt some strings with a key >> >> someone can help me?? > > > I'

Re: [Tutor] Encryption

2010-02-22 Thread Wayne Werner
On Mon, Feb 22, 2010 at 2:50 PM, Antonio Buzzelli wrote: > Hi everyone! > I need a simple way to encrypt and decrypt some strings with a key > > someone can help me?? I'm sure someone can. -Wayne ___ Tutor maillist - Tutor@python.org To unsubscribe

[Tutor] Encryption

2010-02-22 Thread Antonio Buzzelli
Hi everyone! I need a simple way to encrypt and decrypt some strings with a key someone can help me?? Thanks. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] encryption for files/passwords

2007-05-19 Thread Alan Gauld
"Rohan Deshpande" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks, but I want to be able to encrypt *files* with passwords in > them.. the passwords being the sensitive data :) > > Any other ideas? Have you any more specific requirements that prevents the use of the modules

Re: [Tutor] encryption for files/passwords

2007-05-19 Thread Rohan Deshpande
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 <[EMAIL PROTECTED]> wrote: > On 5/18/07, Rohan Deshpande <[EMAIL PROTECTED]> wrote: > > > Hey all, > > > > I am writing a small python scrip

Re: [Tutor] encryption for files/passwords

2007-05-18 Thread Ben Sherman
On 5/18/07, Rohan Deshpande <[EMAIL PROTECTED]> 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

[Tutor] encryption for files/passwords

2007-05-18 Thread Rohan Deshpande
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, ez