4 ms·
Python core devs are succumbing to wikipedia editor disease it seems. Not the first bit of crypto functionality they've removed without a good alternative :(
by nimish 3y ago
Python core devs are succumbing to wikipedia editor disease it seems. Not the first bit of crypto functionality they've removed without a good alternative :(
- acdha 3y agoRead the documentation, not the angry rant. There are good reasons for removing it and there’s a direct replacement: https://docs.python.org/3/library/crypt.html https://docs.python.org/3/library/crypt.html
- eesmith 3y agoI 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."