cython绑定到keccak海绵和sha-3函数
cykeccak的Python项目详细描述
cykeccek
Keccak is a family of sponge functions. The sponge function is a generalization of the concept of cryptographic hash function with infinite output and can perform quasi all symmetric cryptographic functions, from hashing to pseudo-random number generation to authenticated encryption.
cykeccak是一个围绕the reference implementation of Keccak的薄Cython包装器和sha-3的实现 在包装纸上。
安装
只要源发行版存在,cython就不需要构建cykeccak。 包含keccak.c文件,例如the tarballs available from pypi。从github tarball安装是 不推荐,因为它们没有keccak.c、version.txt或 .git目录。不存在version.txt或git存储库, setup.py将无法确定cykeccak的版本。
底层c代码依赖于architecture,并且setup.py将尝试 根据 执行setup.py的python是32位或64位二进制文件。为了避免猜测, CYKECCAK_IMPLEMENTATION环境变量也可以设置为 opt32或opt64。