On Apr 1, 2005 6:45 AM, Kent Johnson <[EMAIL PROTECTED]> wrote: > It works if you make a new XOR object for the decryption: > > from Crypto.Cipher import XOR > > obj_xor = XOR.new("string") > str_encrypt = "encrypt this string" > print str_encrypt > > xored = obj_xor.encrypt(str_encrypt) > print xored > > obj_xor = XOR.new("string") > print obj_xor.decrypt(xored) > > Kent
Excellent !! Many thanks Kent. -- _ ( ) Mark Thomas ASCII ribbon campaign X www.theswamp.org - against HTML email / \ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor