pytea
极其快速的TEA加密解密工具
- 速度是其他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
本地编译
- git clone https://github.com/synodriver/pytea.git
- python -m pip install -r requirements.txt
- python setup.py sdist bdist_wheel
Metadata
Release files for pytea2 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytea2-0.2.0.tar.gz | 132.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pytea2-0.2.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| pytea2-0.2.0-cp310-cp310-manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| pytea2-0.2.0-cp310-cp310-macosx_10_15_x86_64.whl | CPython 3.10 | CPython 3.10 | macOS 10.15+ x86-64 | Details |
| pytea2-0.2.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| pytea2-0.2.0-cp39-cp39-manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details |
| pytea2-0.2.0-cp39-cp39-macosx_10_15_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.15+ x86-64 | Details |
| pytea2-0.2.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| pytea2-0.2.0-cp38-cp38-manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
| pytea2-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.14+ x86-64 | Details |
| pytea2-0.2.0-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| pytea2-0.2.0-cp37-cp37m-manylinux2014_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.17+ x86-64 | Details |
| pytea2-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.14+ x86-64 | Details |
| pytea2-0.2.0-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| pytea2-0.2.0-cp36-cp36m-manylinux2014_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.17+ x86-64 | Details |
| pytea2-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.14+ x86-64 | Details |
Total release size: 3.2 MB
Release files / pytea2-0.2.0.tar.gz
| Download URL | pytea2-0.2.0.tar.gz |
|---|---|
| Size | 132.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8eae9db1c7e12b01d9834232c59cfba6a785ab5dfba30d995b9e23885c38ac14
|
|
BLAKE2b-256 checksum How to use checksums |
dbff0e0c69e6de6df633aeb6310c1f561900cdd4d7c29d920f6fdf696fa73cc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15
|
Release files / pytea2-0.2.0-cp310-cp310-win_amd64.whl
| Download URL | pytea2-0.2.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 193.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c9da3d8ea63eedb385d1dca559bc09f74f788b86c87e235f0d45f093b956376e
|
|
BLAKE2b-256 checksum How to use checksums |
2562271362af27a81feae5cf7e5292b4434bfa24fa2897cd7e6b565d8acea826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
|
Release files / pytea2-0.2.0-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | pytea2-0.2.0-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 227.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bcf41ef1ff62ab24bd605378680c675efc06f9a3267e6b33ded34bd7ea2d26eb
|
|
BLAKE2b-256 checksum How to use checksums |
7fcf59559d1054d021ce328f82b586b34912046aa7c702aa7325139d493a4399
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / pytea2-0.2.0-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | pytea2-0.2.0-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 200.0 kB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
288faa2e784cea6d20cfb45d49531f7c058bcc698eeb0d5c146b86e37452616d
|
|
BLAKE2b-256 checksum How to use checksums |
7aaac0570175f897519f7940bf9c184e561ad22217b8ce0055ef47cf96b4a5ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
|
Release files / pytea2-0.2.0-cp39-cp39-win_amd64.whl
| Download URL | pytea2-0.2.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 193.6 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1bd1f01e9d9653d4d4688f26898714bb7c56f16bcd9eceffa701be9145c2cc86
|
|
BLAKE2b-256 checksum How to use checksums |
eeee941ef3d45bb794ecad2c70f58bff755f25c71cc6920565766a0cff0b49f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
|
Release files / pytea2-0.2.0-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | pytea2-0.2.0-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 228.3 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
588573b6c86ee5bc14589f96913ef9041bcb2ec4f4d14c0d959538f6ea165947
|
|
BLAKE2b-256 checksum How to use checksums |
a261448fb3749c8f2ad5e1c5d41cf5e307dcd453a9e86bfbea7582e2fd3e22b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / pytea2-0.2.0-cp39-cp39-macosx_10_15_x86_64.whl
| Download URL | pytea2-0.2.0-cp39-cp39-macosx_10_15_x86_64.whl |
|---|---|
| Size | 199.9 kB |
| Tags | CPython 3.9 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
364945fc19d2737a88b71d5c029884ac90a616eb212668849f1a3f074d12a381
|
|
BLAKE2b-256 checksum How to use checksums |
130be0f11fbc94776a03c0ca6075b20627a4065c545e2c2aa60a12bf439d018f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / pytea2-0.2.0-cp38-cp38-win_amd64.whl
| Download URL | pytea2-0.2.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 193.4 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
41ba29e4ebdd7374c9f61cd8fac95cf712970e6c5a5f7aff22a6445aa7d18c65
|
|
BLAKE2b-256 checksum How to use checksums |
3a9970e40cfb97e9ea2c01400f5074057b20a184c2020a03fc72968bd8bdccf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Release files / pytea2-0.2.0-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | pytea2-0.2.0-cp38-cp38-manylinux2014_x86_64.whl |
|---|---|
| Size | 227.2 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d593788733e6b8f1b4802d6996bab85726ab3470165dda0fb56e1d0652a70c49
|
|
BLAKE2b-256 checksum How to use checksums |
01b4205dde2d420c173a5423e7fb570f7a8bcf17356f874e6fffae596b18af98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / pytea2-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl
| Download URL | pytea2-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl |
|---|---|
| Size | 197.5 kB |
| Tags | CPython 3.8 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
01511015f09083a52eeb261f33ddd5ede32f37cdce465b6761683a8ab742a900
|
|
BLAKE2b-256 checksum How to use checksums |
eab36a9b153acc88002a1e28b7a4f21addd9563d5abd2b9509e151db0957e176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / pytea2-0.2.0-cp37-cp37m-win_amd64.whl
| Download URL | pytea2-0.2.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 192.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1cd2ae809d87696a70db849dd194a4d3e3e1044d9813555ba36efd16e2f5fded
|
|
BLAKE2b-256 checksum How to use checksums |
a6c014763ad79fc06306771bd376ce679354e5a27f95750ac1288b463b054de9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
|
Release files / pytea2-0.2.0-cp37-cp37m-manylinux2014_x86_64.whl
| Download URL | pytea2-0.2.0-cp37-cp37m-manylinux2014_x86_64.whl |
|---|---|
| Size | 226.5 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a979f82870e00d8c8ad919ce0390b05de43eaf82e74ad5d2a7125b377aa9532
|
|
BLAKE2b-256 checksum How to use checksums |
ad9cf51d881e9e0535e688f60d424fbd24a430ed8add8b7e071201c3df7542f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
|
Release files / pytea2-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl
| Download URL | pytea2-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl |
|---|---|
| Size | 198.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
743b2a7a4dfc68c14cf2f45200c6d7e8b8757fb0fd927108387da4c353aaf9b6
|
|
BLAKE2b-256 checksum How to use checksums |
6261d627c86f553ae5ffe18c852b0e9f6756854bfcc7c9a7e533fd792dc94da6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
|
Release files / pytea2-0.2.0-cp36-cp36m-win_amd64.whl
| Download URL | pytea2-0.2.0-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 192.4 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
91080edd5aa36a8aff56c863141fb24da4ffb7b4eb2b8c57e5bd4a050495003a
|
|
BLAKE2b-256 checksum How to use checksums |
15863f5716868a4443218e4e1752e7e8dca98665fc0ddfa25336b2c892aef690
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8
|
Release files / pytea2-0.2.0-cp36-cp36m-manylinux2014_x86_64.whl
| Download URL | pytea2-0.2.0-cp36-cp36m-manylinux2014_x86_64.whl |
|---|---|
| Size | 227.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c0a0a99d72001f96b1c04f8657cbfdb3b5ea34bef0ac1b9c130798794a976676
|
|
BLAKE2b-256 checksum How to use checksums |
b6c95615380709a0926e3a3ab193804cdd4f127b26dd9ca2621041df87e40d2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15
|
Release files / pytea2-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl
| Download URL | pytea2-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl |
|---|---|
| Size | 197.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
8725842b38468c2efe884907a3d40d9b44c2d27a55c558b1c23a6c40f06fc4da
|
|
BLAKE2b-256 checksum How to use checksums |
c25ad8c5f8bacfdaa932b9cf2fe55b4f7791243a8297a279b03bf0c9dc180780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.2.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15
|