转子替代?

编程入门 行业动态 更新时间:2024-10-27 16:23:37
本文介绍了转子替代?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

似乎转子模块在2.3中被弃用了,但是 似乎并不是一个明显的选择。我正在使用它只是为了混淆。看来我们在2.3中为套接字提供了ssl,但 似乎没有明显的方法可以使用python代码。 是转子计划的替代方案? - Robin Becker

解决方案

Robin写道:

似乎转子模块在2.3中被弃用了,但是似乎并不是一个明显的选择。我正在使用它只是为了混淆。似乎我们在2.3中为套接字提供了ssl,但似乎没有明显的方法可以使用python代码。 是转子计划的替代方案吗?

我在同一条船上 - 我希望转子停留,因为我通常需要一种方法来支付让诚实的人保持诚实。我更喜欢使用标准(内置)模块, 但是缺少我已经切换到使用这个AES模块: eevolved/cryptkit/index.php?page=5 因为我不太愿意隐藏密钥,所以它与转子的加密强度相同。 ;-) -Dave

Robin Becker写道:

似乎转子模块在2.3中被弃用,但似乎并不是一个明显的选择。我正在使用它只是为了混淆。似乎我们在2.3中为套接字提供了ssl,但似乎没有明显的方法可以使用python代码。

对于混淆,我'' m有时只使用普通的base-64编码。 对于额外的混淆,你可以先将字符串rot13,然后zlibpress它,然后base-64对它进行编码。 对于decypher它,人们必须做出有意识的决定。 这里没有安全性,但我发现它对于大多数混淆都足够了。 br /> --Irmen

文章< 3f ************ ***********@news.xs4all.nl> ;, Irmen de Jong < irmen@-NOSPAM-REMOVETHIS-xs4all.nl>写道

Robin Becker写道:

似乎转子模块在2.3中被弃用了,但似乎没有一个明显的选择。我正在使用它只是为了混淆。看来我们在2.3中有ssl可用于套接字,但似乎没有明显的方法可以使用python代码。

对于混淆,我有时只使用普通的base-64编码。对于额外的混淆,你可以首先rot13字符串,然后zlibpress它,然后base-64编码它。 要decypher它,人们必须做出有意识的决定。这里没有安全保障,但我觉得它对大多数混淆都很好。 - Irmen

是的,我们已经做了类似的事情,因为国家在网上持有一个人物。 页面。在python中有rc4的实现,但在标准发行版中有一些 可以减少维护。 - Robin Becker

It seems that the rotor module is being deprecated in 2.3, but there doesn''t seem to be an obvious alternative. I''m using it just for obfuscation. It seems we have ssl available in 2.3 for sockets, but there seems no obvious way to use that from python code. Is an alternative to rotor planned? -- Robin Becker

解决方案

Robin wrote:

It seems that the rotor module is being deprecated in 2.3, but there doesn''t seem to be an obvious alternative. I''m using it just for obfuscation. It seems we have ssl available in 2.3 for sockets, but there seems no obvious way to use that from python code. Is an alternative to rotor planned?

I''m in the same boat - I wish rotor would stay because I commonly need a way to keep the honest people honest. I''d prefer to use a standard (builtin) module, but lacking that I''ve switched to using this AES module: eevolved/cryptkit/index.php?page=5 Since I''m not going to great lengths to hide the key, it works out to be about the same strength of encryption as rotor. ;-) -Dave

Robin Becker wrote:

It seems that the rotor module is being deprecated in 2.3, but there doesn''t seem to be an obvious alternative. I''m using it just for obfuscation. It seems we have ssl available in 2.3 for sockets, but there seems no obvious way to use that from python code.

For obfuscation, I''m sometimes using just plain base-64 encoding. For extra obfuscation, you could first rot13 the string, then zlibpress 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

In article <3f***********************@news.xs4all.nl>, Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> writes

Robin Becker wrote:

It seems that the rotor module is being deprecated in 2.3, but there doesn''t seem to be an obvious alternative. I''m using it just for obfuscation. It seems we have ssl available in 2.3 for sockets, but there seems no obvious way to use that from python code.

For obfuscation, I''m sometimes using just plain base-64 encoding.For extra obfuscation, you could first rot13 the string,then zlibpress 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

Yes we do something like that already for state holding gloop in web pages. There''re implementations of rc4 in python, but having something in the standard distro eases maintenance. -- Robin Becker

更多推荐

转子替代?

本文发布于:2023-05-27 02:45:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/275014.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转子

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!