Does rotor follow a cross-language encryption algorithm ?

Werner Schiendl ws-news at gmx.at
Fri Nov 23 23:24:49 CET 2001


Hi,

"Stephen" <shriek at gmx.co.uk> wrote in message
news:97ae44ee.0111231225.22760e5c at posting.google.com...
> Does the Python 'rotor' module conform cross-language algorithm
> that is also used in the corresponding C & Java libraries ?
> If so, where could I find the algorithm ?

Sorry, no idea.

> Why isn't rotor.py
> in the Python lib directory ?
>

The rotor modul is built into the python library (at least in my
ActivePython 2.1.1 distribution)
If it is not builtin, it is still a C extension module (rotor.pyd for
Windows, probably rotor.so or rotormodule.so on *nix)

You find the C sourcecode in the file Modules/rotormodule.c (if you have
source code installed, of course).

> Also, is it possible for the output of the rotor to ever
> include \r, \n or CRLF ?
>

see 1st remark :-)


hth
Werner






More information about the Python-list mailing list