Python 3 移除 crypt.crypt 而不提供替代方案 ¯\_(ツ)_/¯
原文英文,约200词,阅读约需1分钟。发表于: 。Python 3.13 will, for inscrutable reasons, remove the crypt module from the standard library. The excuses given in PEP 0594 boil down to “here are some good reasons why new code shouldn’t use this...
Python 3.13将删除crypt模块,新代码不应使用该模块。可以使用shacrypt512.py模块替换crypt模块的代码来生成SHAcrypt SHA-512密码数据库条目。