You wrote: > >For the love of baby kittens, please, please, please tell me that >you do not believe this securely encrypts your data.
The original poster asked to have two C++ functions converted to Python. That's what I did, using the same names as the original. I neither know nor care how they are used, but let us hope the O.P. understands their limitations. These are roughly as useful as the old ROT13 encoding. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list