- 速度是其他PYTEA算法实现的300倍
import pytea
tea = pytea.TEA(bytes(16), 16)
data = tea.encrypt("哈哈哈".encode())
print(tea.decrypt(data).decode())- python -m pip install pytea2
- git clone https://github.com/synodriver/pytea.git
- python -m pip install -r requirements.txt
- python setup.py sdist bdist_wheel