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.

Source Distribution

pytea2-0.2.0rc1.tar.gz (62.6 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.0rc1-cp310-cp310-win_amd64.whl (80.2 kB view details)

Uploaded CPython 3.10Windows x86-64

pytea2-0.2.0rc1-cp310-cp310-manylinux2014_x86_64.whl (87.6 kB view details)

Uploaded CPython 3.10

pytea2-0.2.0rc1-cp310-cp310-macosx_10_14_x86_64.whl (79.9 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

pytea2-0.2.0rc1-cp39-cp39-win_amd64.whl (80.2 kB view details)

Uploaded CPython 3.9Windows x86-64

pytea2-0.2.0rc1-cp39-cp39-manylinux2014_x86_64.whl (87.5 kB view details)

Uploaded CPython 3.9

pytea2-0.2.0rc1-cp39-cp39-macosx_10_14_x86_64.whl (79.9 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

pytea2-0.2.0rc1-cp38-cp38-win_amd64.whl (80.1 kB view details)

Uploaded CPython 3.8Windows x86-64

pytea2-0.2.0rc1-cp38-cp38-manylinux2014_x86_64.whl (88.3 kB view details)

Uploaded CPython 3.8

pytea2-0.2.0rc1-cp38-cp38-macosx_10_14_x86_64.whl (79.1 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

pytea2-0.2.0rc1-cp37-cp37m-win_amd64.whl (80.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

pytea2-0.2.0rc1-cp37-cp37m-manylinux2014_x86_64.whl (87.7 kB view details)

Uploaded CPython 3.7m

pytea2-0.2.0rc1-cp37-cp37m-macosx_10_14_x86_64.whl (78.8 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

pytea2-0.2.0rc1-cp36-cp36m-win_amd64.whl (80.0 kB view details)

Uploaded CPython 3.6mWindows x86-64

pytea2-0.2.0rc1-cp36-cp36m-manylinux2014_x86_64.whl (87.1 kB view details)

Uploaded CPython 3.6m

pytea2-0.2.0rc1-cp36-cp36m-macosx_10_14_x86_64.whl (78.9 kB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

Details for the file pytea2-0.2.0rc1.tar.gz.

File metadata

  • Download URL: pytea2-0.2.0rc1.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pytea2-0.2.0rc1.tar.gz
Algorithm Hash digest
SHA256 5297d303963a1cb1c22576ae20c945ef7473b92603ecb36103aa01c45b4e28d1
MD5 e37bc07b91701a257b82648ac1b29d54
BLAKE2b-256 98c2934fd4a803274d4590e59ac435eb26799ed9d0083006d7ccc9f544eb3829

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pytea2-0.2.0rc1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7fbec5b3fec1063c5be1a2120db1fcb9e3f0cd504c99ad0048ccb0516e58acb5
MD5 1ed9b29f72e7dc80f8397abe6c48adc2
BLAKE2b-256 ccfc16fdee10992fb474a9cc24e01e850cf549b13a8bfce2f670c7bfeb65651a

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp310-cp310-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 87.6 kB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pytea2-0.2.0rc1-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afe3a4c6044c28bed2a7f2d3a5d3f0c22b6b84b0cb224816033578407892859f
MD5 b197deda40533b57c8aa2d67a8a8f08a
BLAKE2b-256 814ae376db24c71d4731a89645423cedff226e043c0c92cb784f69562bdfa1ce

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp310-cp310-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 79.9 kB
  • Tags: CPython 3.10, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for pytea2-0.2.0rc1-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 502eef31c3680b4bfd89f5a74f9841eb941866eb2be36d77b3fe4b2e74d8bc32
MD5 75c1a3995af5cfa0416d2d5f2fe204a5
BLAKE2b-256 d6e6a39e07a0f3f1a3f5c805ab2522e131110ced07e835dc74c0ce22ad2f4598

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pytea2-0.2.0rc1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 edf80ae0769d3fbf166cb26f868bf344c551b7ff13d1bab4ceda451f3ec1c5b2
MD5 b97aeecf686eea997c41b50fb2b81b46
BLAKE2b-256 30399b7e48830c016648ff54c48e97ba856b520fdacf83eb553e35e37985aad7

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 87.5 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pytea2-0.2.0rc1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 961c2719eb9fc8c6b72ceba38bf5a623c5d12f33a21e59e1cba09e408a0d0b88
MD5 a097539b94bb8f7e67175195d364a073
BLAKE2b-256 824639df2650393b4ac3d1a997ecc5d3bddb73093286befd7208deb275d9f818

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 79.9 kB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pytea2-0.2.0rc1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d70489273dc70b9884fabce5abae9d968844e22959b11c46824dab29d286df34
MD5 69dfaa545e6fde247ce4d3745cc1f050
BLAKE2b-256 66f40a602f4112328979ab8eef58e4f4e80ff80211fb1b1c4caff3c726a2d913

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 80.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pytea2-0.2.0rc1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 24e7e98d90c1476827271e59f9561d679d40302877dc6f7865f9595aa2282b18
MD5 1de052fb5c13fd1846decf657c392605
BLAKE2b-256 8424b91b17c78fe25f8b7348b36198fdf829c9d04f8ea14af5aca2c7002b3d47

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 88.3 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pytea2-0.2.0rc1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc523e72d478c8dfdbb5afe428c113242ae8cc42cfa6ef9f33df20be9e973daf
MD5 fc7d2b3f7056ddd77e1cd1de067721d6
BLAKE2b-256 89de30ea0f90f60de8ce6d068c11af6ce24799d51e444d5af0b595b620cc4d16

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 79.1 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pytea2-0.2.0rc1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e94deaecd1efe34ce6c02742c36400c2abee382189d2b5112764ac52297db96d
MD5 be7eb49fbcd4255b92a722d0f5f9b1de
BLAKE2b-256 ac5d1a5ac1e0e93fd54eb02d0b0bb8a93adeb3dabd0d1cbcec4faab04f15d194

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 80.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9

File hashes

Hashes for pytea2-0.2.0rc1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ab35553972d211f1e25fe55e54b6cffcfbee46ad30317eab82d7155324b5053d
MD5 5f0bd9a0b9184129bf03d12d9f09bb1e
BLAKE2b-256 58370cd992966ae6f239697c248782a92aa2289e8e1e9176cbabc699a32ae912

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 87.7 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for pytea2-0.2.0rc1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 304a6e7819947c772917d9b20e5cd61b42accf1964387de337cb0d83224b81b1
MD5 95ca95ab261aa1ec982d579a965906dc
BLAKE2b-256 5e01b2aa2966c6f9dc56afc3647bfcc1bb90e0846276a3ff16013927d0e49d7c

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 78.8 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for pytea2-0.2.0rc1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8f767c4fae151f31a2f5858e057c57ddb1e388a8c2daf6a5020b8c5c647252a1
MD5 fb22ee6e062a74f341d3366abd82ca56
BLAKE2b-256 f4c07e4fb45546887bab9145f48f7cfedfba38658062f95177d4545d91a253df

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 80.0 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8

File hashes

Hashes for pytea2-0.2.0rc1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ffd76cc99a1315fdf76da1c334c2417441e76ba6f57c8c8484be53dc0fed1f0c
MD5 da80061d2572b626a2b5398c3d16b9d7
BLAKE2b-256 841538afa7b7f26ac53f94c58e7c8dec2d33354d01d8c05d719407d5d915bc27

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 87.1 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for pytea2-0.2.0rc1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e92dea8c2ff47434b1457e1f7b0a722796ef47b07df42d8ae3fe7ff1ee71fb0
MD5 11a76ad0bc95172b77b2da094a934c84
BLAKE2b-256 787bd6649c32e300dd6ec9d7a8349ed59e2aa3ed0c6fc69753f6af5729d3190a

See more details on using hashes here.

File details

Details for the file pytea2-0.2.0rc1-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pytea2-0.2.0rc1-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 78.9 kB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for pytea2-0.2.0rc1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 994c188b3d6b0449b82681ed782c8cbfaa154cea546d92b6d28b2e92bdd00909
MD5 c22bc7d90b008a2391491d5894bfb813
BLAKE2b-256 98fc60b5c14e207a663e268cf2a2e9133630914166599dc4ca8fd2c281dc9fcc

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