我在同一条船上 - 我希望转子停留,因为我通常需要一种方法来支付让诚实的人保持诚实。我更喜欢使用标准(内置)模块, 但是缺少我已经切换到使用这个AES模块: http://eevolved.com/cryptkit/index.php?page=5 因为我不太愿意隐藏密钥,所以它与转子的加密强度相同。 ;-) -Dave 对于混淆,我'' m有时只使用普通的base-64编码。 对于额外的混淆,你可以先将字符串rot13,然后zlib.compress它,然后base-64对它进行编码。 对于decypher它,人们必须做出有意识的决定。 这里没有安全性,但我发现它对于大多数混淆都足够了。 br /> --Irmen 对于混淆,我有时只使用普通的base-64编码。对于额外的混淆,你可以首先rot13字符串,然后zlib.compress它,然后base-64编码它。 要decypher它,人们必须做出有意识的决定。这里没有安全保障,但我觉得它对大多数混淆都很好。 - Irmen 是的,我们已经做了类似的事情,因为国家在网上持有一个人物。 页面。在python中有rc4的实现,但在标准发行版中有一些 可以减少维护。 - Robin Becker It seems that the rotor module is being deprecated in 2.3, but theredoesn''t seem to be an obvious alternative. I''m using it just forobfuscation. It seems we have ssl available in 2.3 for sockets, butthere seems no obvious way to use that from python code.Is an alternative to rotor planned?--Robin Becker 解决方案I''m in the same boat - I wish rotor would stay because I commonly need a way tokeep the honest people honest. I''d prefer to use a standard (builtin) module,but lacking that I''ve switched to using this AES module: http://eevolved.com/cryptkit/index.php?page=5Since I''m not going to great lengths to hide the key, it works out to be aboutthe same strength of encryption as rotor. ;-)-DaveFor obfuscation, I''m sometimes using just plain base-64 encoding.For extra obfuscation, you could first rot13 the string,then zlib.compress it, then base-64 encode it.To decypher it, people have to make a conscious decision to do so.No security here, but I find it good enough for most obfuscations.--Irmen For obfuscation, I''m sometimes using just plain base-64 encoding.For extra obfuscation, you could first rot13 the string,then zlib.compress it, then base-64 encode it.To decypher it, people have to make a conscious decision to do so.No security here, but I find it good enough for most obfuscations.--IrmenYes we do something like that already for state holding gloop in webpages. There''re implementations of rc4 in python, but having somethingin the standard distro eases maintenance.--Robin Becker 这篇关于转子替代?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-23 19:46