SM4算法规范文档参见SM4 算法标准Google Doc
- Python 2.6 no test
- Python 2.7 Pass
- Python 3.3 no test
- Python 3.4 Pass
- Python 3.5 no test
- Python 3.6 no test
为了兼容Python2 和Python3 使用了 six
模块
- slowSM4 在i7-4720HQ 使用 testApi.py 显示 170~200tps Python2 和Python3 相差无几
- Python原生 slowSM4.py 速度很慢
- C的动态库 pySM4.so 速度极快 需要加载到python执行环境的动态库中
0.1.1 支持Python2 Python3, 加解密支持 CBC模式
- 支持常见的Padding增加和去除