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(bytes(16), 16)
data = tea.encrypt("哈哈哈".encode())
print(tea.decrypt(data).decode())

安装

  • 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.1.dev1.tar.gz (131.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pytea2-0.2.1.dev1-cp310-cp310-win_amd64.whl (191.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pytea2-0.2.1.dev1-cp310-cp310-manylinux2014_x86_64.whl (224.5 kB view details)

Uploaded CPython 3.10

pytea2-0.2.1.dev1-cp310-cp310-macosx_10_15_x86_64.whl (197.2 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

pytea2-0.2.1.dev1-cp39-cp39-win_amd64.whl (191.7 kB view details)

Uploaded CPython 3.9Windows x86-64

pytea2-0.2.1.dev1-cp39-cp39-manylinux2014_x86_64.whl (224.6 kB view details)

Uploaded CPython 3.9

pytea2-0.2.1.dev1-cp39-cp39-macosx_10_15_x86_64.whl (197.2 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

pytea2-0.2.1.dev1-cp38-cp38-win_amd64.whl (191.7 kB view details)

Uploaded CPython 3.8Windows x86-64

pytea2-0.2.1.dev1-cp38-cp38-manylinux2014_x86_64.whl (223.3 kB view details)

Uploaded CPython 3.8

pytea2-0.2.1.dev1-cp38-cp38-macosx_10_14_x86_64.whl (194.8 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

pytea2-0.2.1.dev1-cp37-cp37m-win_amd64.whl (191.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

pytea2-0.2.1.dev1-cp37-cp37m-manylinux2014_x86_64.whl (222.7 kB view details)

Uploaded CPython 3.7m

pytea2-0.2.1.dev1-cp37-cp37m-macosx_10_14_x86_64.whl (195.4 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

pytea2-0.2.1.dev1-cp36-cp36m-win_amd64.whl (191.3 kB view details)

Uploaded CPython 3.6mWindows x86-64

pytea2-0.2.1.dev1-cp36-cp36m-manylinux2014_x86_64.whl (223.1 kB view details)

Uploaded CPython 3.6m

pytea2-0.2.1.dev1-cp36-cp36m-macosx_10_14_x86_64.whl (195.3 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

Details for the file pytea2-0.2.1.dev1.tar.gz.

File metadata

  • Download URL: pytea2-0.2.1.dev1.tar.gz
  • Upload date:
  • Size: 131.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for pytea2-0.2.1.dev1.tar.gz
Algorithm Hash digest
SHA256 b3bccb00d9322ad018d8629369ac82bda4eb5fffaccdf774146841fc0c197c1a
MD5 3a81b839a6ba3ed764fa5d1101243d6c
BLAKE2b-256 3d273ec6bd07ccf3fba8c14602ed9c32b66e32870d6fb4965e9b7559ab4ef4a6

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 191.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pytea2-0.2.1.dev1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c39fa001beddd0c64813d5d4a2c68d49c89d74c0bf85a8ce64f6a48a9cdbc187
MD5 696e4ce8be80df025707580784a4e2e3
BLAKE2b-256 b8c591413cf8a4adb2c9ac90aa9ee5519faa5bc100b63952215f8e25bf8a6d46

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp310-cp310-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 224.5 kB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pytea2-0.2.1.dev1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4db43565cf555fcea599925d49f03ba00c2848f089ba6dcf2d4728bcba2a7779
MD5 8f7fefc259d9e4efd83997f7d78766a6
BLAKE2b-256 fbceb9080a9c49a88a5523e3898da5e4435e4fc1de407ef32186666f6f0a4e0d

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 197.2 kB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pytea2-0.2.1.dev1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e333963bd48fb53cd7b0e42044979d3ec52d9f9898674606688cb24f30328461
MD5 7d042e58aa09c17b682497e87da5718d
BLAKE2b-256 7a98e47936ceedb65f357e7cbcdb5a24abdd1c46793fe9fc7276f961ba885d51

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 191.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pytea2-0.2.1.dev1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d21263a6c303002f091a27f50f197acf0484ae8937673a494c51475c5a91410c
MD5 c5730c8b8bb54c74363cdb774ab5b1b3
BLAKE2b-256 903f8db94277e695db532314c8853a3a06f182716e93150c5b5eac986d6afbfa

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 224.6 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pytea2-0.2.1.dev1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 31e4485578e4435a9da656e3e8134cf7a609d96531fdf3bfb3a6a31707840a61
MD5 a284551336012cbbd1740c23a70d9772
BLAKE2b-256 c2b142ee32062856a21763ef7c172304f6af452af9fec78e9d8c1e9c302251bd

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 197.2 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pytea2-0.2.1.dev1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f04c2b0d3ad06271a9b911727edc4832659b6f8148784212891ea20bc7331b6e
MD5 887232c9f8a6e6993d97badfc90f4ffe
BLAKE2b-256 01f1fb0d4ec7169a01ba9d552b5d9834438481da7ef98e6f679aa8f9a7d0c5ef

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 191.7 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for pytea2-0.2.1.dev1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 db546c7e7ef3804fa471fd06de6350524f8a71b436979a93770c687890b03734
MD5 fe3021b044e1244656d9179de4df53d9
BLAKE2b-256 75c9ab136eb7eb0e55760270f3284b4307717c294726b527b0a835c7f881fe05

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 223.3 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for pytea2-0.2.1.dev1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb80a677cc3bc9cb0fe261154fe5a54b9aa928b418655860038c6e501ce498a3
MD5 2576ae12b85c2ac53165dbdabb2ef887
BLAKE2b-256 997c2ae91d0d1665dd5db60ed6b376cae073eaa4cee11a9780cfa08ff665c833

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 194.8 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for pytea2-0.2.1.dev1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f688e4dfade8ebb30a4f26cab08f03cc7a0897e1dba699413947bc9e05bd5f25
MD5 308828ae59e75fdd58b5d655170c2b08
BLAKE2b-256 41985118b82ddcda19f93305b2b53372fbb8ee50ff587e10261ff29de13a47d9

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 191.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for pytea2-0.2.1.dev1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 39ab8f51d33e179b92c959eafa7b8819a362ab35c782999aa5563725f65abd98
MD5 7ce4e3aac427b38197d92b863959c916
BLAKE2b-256 de4c79b5fc7f38a2f437c5eefb37d9b482fd80bd5557607ac5c6da43cca4c0d2

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 222.7 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for pytea2-0.2.1.dev1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0130e16a6a4db7c168bcc0e10a28e3a78b01b386dd016f0b2373f4489a70b77
MD5 6be8a033eb61c197fa8fa130cf0eb712
BLAKE2b-256 068ac423ff7e19a04785f31eaed10c861dd8c676abf09ffa691ec35fbc6bbe78

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 195.4 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for pytea2-0.2.1.dev1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9bc0c249e3065371767d9c03ed566167d048eb6a9a0ac20d55adabc1cfd86a6d
MD5 7e48718ab8ab66570d1759b6f91d2274
BLAKE2b-256 3ab2056d3a1635a29708eec3bdd04adba29e61ad11ad24f6fa02a759213675d8

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 191.3 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for pytea2-0.2.1.dev1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 83d1ecbcc0a994ae1b62de9a065185094fd6a119c32a62b5c2436c33d6936807
MD5 095c61d1f1ce891299956c8a51f774f8
BLAKE2b-256 2e54b4084e79c0bbb749cc62b01c9562977396e01e55ead820aaa6877e661a60

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 223.1 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for pytea2-0.2.1.dev1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 014abf6e1a4c851cce81a8afdd2f03e9e89d5bd07315640aa99c8ed7fe76e9f0
MD5 8748107cb7b6e4f4082cdafb4517a474
BLAKE2b-256 39bd4b50b1f554209e1348f8c10c0c9e68484685da22ea84f2c4ab132c9d9281

See more details on using hashes here.

File details

Details for the file pytea2-0.2.1.dev1-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.1.dev1-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 195.3 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for pytea2-0.2.1.dev1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 70c64daf26789e0abbaa525e945c597d79e9047e4d267fdaae93f6a7c234a24c
MD5 e737cfadd59d77875b7335e00ab29e16
BLAKE2b-256 8b43f1c660fa6589bc52459c2694681e304d19db79a158ad5cba4a36a514fdcd

See more details on using hashes here.

Supported by

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