转子替代? [英] rotor alternative?
问题描述
似乎转子模块在2.3中被弃用了,但是
似乎并不是一个明显的选择。我正在使用它只是为了
混淆。看来我们在2.3中为套接字提供了ssl,但
似乎没有明显的方法可以使用python代码。
是转子计划的替代方案?
-
Robin Becker
Robin写道:似乎转子模块在2.3中被弃用了,但是
似乎并不是一个明显的选择。我正在使用它只是为了混淆。似乎我们在2.3中为套接字提供了ssl,但
似乎没有明显的方法可以使用python代码。
是转子计划的替代方案吗?>
我在同一条船上 - 我希望转子停留,因为我通常需要一种方法来支付
让诚实的人保持诚实。我更喜欢使用标准(内置)模块,
但是缺少我已经切换到使用这个AES模块:
http://eevolved.com/cryptkit/index.php?page=5
因为我不太愿意隐藏密钥,所以它与转子的加密强度相同。
;-)
-Dave
Robin Becker写道:
似乎转子模块在2.3中被弃用,但似乎并不是一个明显的选择。我正在使用它只是为了混淆。似乎我们在2.3中为套接字提供了ssl,但
似乎没有明显的方法可以使用python代码。
对于混淆,我'' m有时只使用普通的base-64编码。
对于额外的混淆,你可以先将字符串rot13,然后zlib.compress它,然后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字符串,
然后zlib.compress它,然后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:
http://eevolved.com/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 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
In article <3f***********************@news.xs4all.nl>, Irmen de Jong
<irmen@-NOSPAM-REMOVETHIS-xs4all.nl> writesRobin 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 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
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
这篇关于转子替代?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!