encryption/decryption help

2005-01-12 Thread drs
Hi, I need to send secure data over an insecure network. To that end, I am needing to encrypt serialized data and then decrypt it. Is there a builtin way to do this in Python? MD5, SHA, etc encrypt, but I am not seeing a way to get back my data. Encryption is totally new to me, so any pointers

Re: encryption/decryption help

2005-01-12 Thread Paul Rubin
drs [EMAIL PROTECTED] writes: Hi, I need to send secure data over an insecure network. To that end, I am needing to encrypt serialized data and then decrypt it. Is there a builtin way to do this in Python? MD5, SHA, etc encrypt, but I am not seeing a way to get back my data. No, Python

Re: encryption/decryption help

2005-01-12 Thread Daniel Bowett
MD5 and SHA are by their very nature one way encryption. You cannot decrypt them. A quick google for other encrytion methods found this: http://www.amk.ca/python/code/crypto.html What you will need to do is find an encryption methos that uses a key which you use to encrypt and decrypt the

Re: encryption/decryption help

2005-01-12 Thread Philippe C. Martin
Did you look at pycrypto ? http://www.amk.ca/python/code/crypto.html Regards, Philippe -- *** Philippe C. Martin SnakeCard LLC www.snakecard.com *** -- http://mail.python.org/mailman/listinfo/python-list

Re: encryption/decryption help

2005-01-12 Thread Kartic
Hi, Can you use ssh tunneling? You will not be changing anything except add an extra ssh layer to tunnel your data through. There is how-to at http://www.ccs.neu.edu/groups/systems/howto/howto-sshtunnel.html (or you can google for tunneling) Please note you can not use MD5 as it is not

Re: encryption/decryption help

2005-01-12 Thread Jorgen Grahn
On 12 Jan 2005 12:39:05 -0800, Kartic [EMAIL PROTECTED] wrote: Hi, Can you use ssh tunneling? You will not be changing anything except add an extra ssh layer to tunnel your data through. Or, rather, he wouldn't be changing anything at all in the program itself. The approach would be Ok, so

Re: encryption/decryption help

2005-01-12 Thread Philippe C. Martin
MD5 and SHA are by their very nature one way encryption. You cannot decrypt them. Indeed, the point of these algorithms is to sign data (like a fingerprint). In order to encrypt you may go for Symmetrical algos (AES, 3DES with those, the key must be known on both sides of the pipe) or

Re: encryption/decryption help

2005-01-12 Thread elbertlev
For the problem described pycrypto is the best solution. Blowfish is simple and secure. The method you want to use is called security by obscurity. But chances are very high that the homebrewed scheme you will invent will not stand any serious crytoatack. First of all: both sides (sender and