问题描述
嗨伙计,
适合那些熟悉micropledge.com项目的人,
这是一个花钱或赚钱的好机会:
我知道这个项目的细节还有点不清楚,但
这是我们可以讨论的。顺便说一句,最终结果应该是
看起来它是python标准库的一部分(命名
约定等),当然它将是开放的来源。
谢谢
Ich
Hi Folks,
for those of you who are familiar with the micropledge.com project,
here is a good opportunity to spend or earn something:
http://micropledge.com/projects/pysalsa20
I know that the details of this project are still a bit unclear, but
that is something we could discuss. By the way, the end result should
look like it''s a part of the python standard library (naming
conventions, etc.) and of course it will be open source.
Thanks
Ich
推荐答案
我不明白为什么salsa20的纯python版本会很有趣。是否有一些使用salsa20的应用程序,那些值得能够与纯Python进行互操作的
?
如果你只想要一个流密码纯python(包括它的
标准库),最快的方法似乎是能够使用sha
模块作为构建块:
顺便说一句,这里是C中salsa20的简洁实现:
也许可以比转换参考实现更方便地转换为python
。
By the way, here is a concise implementation of salsa20 in C:
http://www.nightsong.com/phr/crypto/salsa20.c
maybe it could be converted to python more conveniently than
converting the reference implementation.
纯python的原因是它将独立于
平台。 C实现更快,但您需要在每个平台上编译它为
。 python实现没有那个问题,并且可以使用
来支持。
The reason for a pure python is that it would be independent from the
platform. A C implementation is faster, but you need to compile it for
every platform. A python implementation doesn''t have that problem and
could be used to fall back upon.
这篇关于纯Python Salsa20流密码实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!