Skip to main content

tea encrypt and decrypt

Project description

pytea

极其快速的TEA加密解密工具

pypi python implementation wheel license action

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

usage

import pytea

tea = pytea.TEA(secret_key=bytes(16), encrypt_times=16)
data = tea.encrypt("哈哈哈".encode())
print(tea.decrypt(data).decode())

Project details


Download files

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

Files for pytea2, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pytea2-0.1.2.tar.gz (74.2 kB) File type Source Python version None Upload date Hashes View
Filename, size pytea2-0.1.2-cp39-cp39-win_amd64.whl (82.2 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pytea2-0.1.2-cp39-cp39-manylinux2014_x86_64.whl (90.3 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pytea2-0.1.2-cp39-cp39-macosx_10_14_x86_64.whl (81.7 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pytea2-0.1.2-cp38-cp38-win_amd64.whl (82.2 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pytea2-0.1.2-cp38-cp38-manylinux2014_x86_64.whl (91.2 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pytea2-0.1.2-cp38-cp38-macosx_10_14_x86_64.whl (80.7 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pytea2-0.1.2-cp37-cp37m-win_amd64.whl (82.0 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pytea2-0.1.2-cp37-cp37m-manylinux2014_x86_64.whl (90.8 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pytea2-0.1.2-cp37-cp37m-macosx_10_14_x86_64.whl (80.5 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pytea2-0.1.2-cp36-cp36m-win_amd64.whl (82.1 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pytea2-0.1.2-cp36-cp36m-manylinux2014_x86_64.whl (90.2 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pytea2-0.1.2-cp36-cp36m-macosx_10_14_x86_64.whl (80.5 kB) File type Wheel Python version cp36 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page