Skip to main content

tea encrypt and decrypt

Project description



pypi python implementation wheel license action

  • 速度是其他PYTEA算法实现的300倍


import pytea

tea = pytea.TEA(bytes(16), 16)
data = tea.encrypt("哈哈哈".encode())


  • python -m pip install pytea2


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytea2-0.2.0.tar.gz (132.0 kB view hashes)

Uploaded source

Built Distributions

pytea2-0.2.0-cp310-cp310-win_amd64.whl (193.6 kB view hashes)

Uploaded cp310

pytea2-0.2.0-cp39-cp39-win_amd64.whl (193.6 kB view hashes)

Uploaded cp39

pytea2-0.2.0-cp38-cp38-win_amd64.whl (193.4 kB view hashes)

Uploaded cp38

pytea2-0.2.0-cp37-cp37m-win_amd64.whl (192.3 kB view hashes)

Uploaded cp37

pytea2-0.2.0-cp36-cp36m-win_amd64.whl (192.4 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page