2 ms·
I still remember when Python 2.4 dropped the "rotor" module, which supported Enigma-like encryption and decryption. From https://web.archive.org/web/20030620052
by eesmith 3y ago
I still remember when Python 2.4 dropped the "rotor" module, which supported Enigma-like encryption and decryption. From https://web.archive.org/web/20030620052059/http://python.org/doc/2.2/lib/module-rotor.html https://web.archive.org/web/20030620052059/http://python.org... ;
"The original Enigma cipher was broken in 1944. The version implemented here is probably a good deal more difficult to crack (especially if you use many rotors), but it won't be impossible for a truly skillful and determined attacker to break the cipher. So if you want to keep the NSA out of your files, this rotor cipher may well be unsafe, but for discouraging casual snooping through your files, it will probably be just fine, and may be somewhat safer than using the Unix crypt command."
See https://docs.python.org/3/whatsnew/2.3.html https://docs.python.org/3/whatsnew/2.3.html for the deprecation notice: "The rotor module has been deprecated because the algorithm it uses for encryption is not believed to be secure. If you need encryption, use one of the several AES Python modules that are available separately."