rotor alternative?

Jimmy Retzlaff jimmy at
Tue Nov 18 20:47:22 CET 2003

Robin Becker wrote:

> It seems that the rotor module is being deprecated in 2.3, but there
> doesn't seem to be an obvious alternative. I'm using it just for
> obfuscation. It seems we have ssl available in 2.3 for sockets, but
> there seems no obvious way to use that from python code.
> Is an alternative to rotor planned?

If the goal is simple obfuscation (and not encryption) then the base64
module might work:

>>> import base64
>>> base64.encodestring('Can you read this?')
>>> base64.decodestring('Q2FuIHlvdSByZWFkIHRoaXM/\n')
'Can you read this?'


More information about the Python-list mailing list