Michele <michele at nectarine.it> writes: > I suppose that ord() and char() are the main problems yes > How should I decrease the execution time? See http://nightsong.com/phr/crypto/p3.py which deals with the same problem by using the array module to do the xor's 32 bits at a time.