1 个不稳定版本
0.1.0 | 2019年12月14日 |
---|
#105 in #python-bindings
17KB
354 代码行
Py-PKSTL
Python 3版本的Rust PKSTL绑定。PKSTL是一种网络安全层(公钥加密和Diffie-Hellman密钥生成)。
构建和安装
构建后,将 libpy_pkstl.so
直接放入你的 site-packages
目录下,命名为 pkstl.so
。为此提供了脚本,分别是 install_debug.sh
和 install_release.sh
。 (假设Python 3.8,但应支持 >=3.5)
下载编译的最新版本(可直接从Python使用)
示例
运行示例(客户端-服务器回显)
python3 py/example_echo.py server
python3 py/example_echo.py client
# and type some text into the client!
依赖项
~11MB
~307K SLoC