tea encrypt and decrypt
Project description
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
Project details
Release history Release notifications | RSS feed
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)
Built Distributions
pytea2-0.2.0-cp39-cp39-win_amd64.whl
(193.6 kB
view hashes)
pytea2-0.2.0-cp38-cp38-win_amd64.whl
(193.4 kB
view hashes)
pytea2-0.2.0-cp37-cp37m-win_amd64.whl
(192.3 kB
view hashes)
pytea2-0.2.0-cp36-cp36m-win_amd64.whl
(192.4 kB
view hashes)
Close
Hashes for pytea2-0.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9da3d8ea63eedb385d1dca559bc09f74f788b86c87e235f0d45f093b956376e |
|
MD5 | 46d37b8132a3081e70d0cd359e5296d4 |
|
BLAKE2b-256 | 2562271362af27a81feae5cf7e5292b4434bfa24fa2897cd7e6b565d8acea826 |
Close
Hashes for pytea2-0.2.0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcf41ef1ff62ab24bd605378680c675efc06f9a3267e6b33ded34bd7ea2d26eb |
|
MD5 | e21a10bf76643dfd8bad29897943c425 |
|
BLAKE2b-256 | 7fcf59559d1054d021ce328f82b586b34912046aa7c702aa7325139d493a4399 |
Close
Hashes for pytea2-0.2.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288faa2e784cea6d20cfb45d49531f7c058bcc698eeb0d5c146b86e37452616d |
|
MD5 | cdb2840b870d6f0bcb92a986ef19f61c |
|
BLAKE2b-256 | 7aaac0570175f897519f7940bf9c184e561ad22217b8ce0055ef47cf96b4a5ef |
Close
Hashes for pytea2-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd1f01e9d9653d4d4688f26898714bb7c56f16bcd9eceffa701be9145c2cc86 |
|
MD5 | be8cd1461b00c63fc50ae6427231c82b |
|
BLAKE2b-256 | eeee941ef3d45bb794ecad2c70f58bff755f25c71cc6920565766a0cff0b49f6 |
Close
Hashes for pytea2-0.2.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 588573b6c86ee5bc14589f96913ef9041bcb2ec4f4d14c0d959538f6ea165947 |
|
MD5 | 43ba9cb77cf043d4eac4393e4c34690b |
|
BLAKE2b-256 | a261448fb3749c8f2ad5e1c5d41cf5e307dcd453a9e86bfbea7582e2fd3e22b7 |
Close
Hashes for pytea2-0.2.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 364945fc19d2737a88b71d5c029884ac90a616eb212668849f1a3f074d12a381 |
|
MD5 | f7859c7331470f7627c9c2db5ed8fa82 |
|
BLAKE2b-256 | 130be0f11fbc94776a03c0ca6075b20627a4065c545e2c2aa60a12bf439d018f |
Close
Hashes for pytea2-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ba29e4ebdd7374c9f61cd8fac95cf712970e6c5a5f7aff22a6445aa7d18c65 |
|
MD5 | e9826d50554a9065351d7e2095873369 |
|
BLAKE2b-256 | 3a9970e40cfb97e9ea2c01400f5074057b20a184c2020a03fc72968bd8bdccf5 |
Close
Hashes for pytea2-0.2.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d593788733e6b8f1b4802d6996bab85726ab3470165dda0fb56e1d0652a70c49 |
|
MD5 | 246079930d082efb87828b29b1aefc95 |
|
BLAKE2b-256 | 01b4205dde2d420c173a5423e7fb570f7a8bcf17356f874e6fffae596b18af98 |
Close
Hashes for pytea2-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01511015f09083a52eeb261f33ddd5ede32f37cdce465b6761683a8ab742a900 |
|
MD5 | dbe6e80e9f6fb787682b385231932fe6 |
|
BLAKE2b-256 | eab36a9b153acc88002a1e28b7a4f21addd9563d5abd2b9509e151db0957e176 |
Close
Hashes for pytea2-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cd2ae809d87696a70db849dd194a4d3e3e1044d9813555ba36efd16e2f5fded |
|
MD5 | ddd643fcefcc9531ac30638df0f3297f |
|
BLAKE2b-256 | a6c014763ad79fc06306771bd376ce679354e5a27f95750ac1288b463b054de9 |
Close
Hashes for pytea2-0.2.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a979f82870e00d8c8ad919ce0390b05de43eaf82e74ad5d2a7125b377aa9532 |
|
MD5 | 93a4dc8623fd97187a51444cdbd82895 |
|
BLAKE2b-256 | ad9cf51d881e9e0535e688f60d424fbd24a430ed8add8b7e071201c3df7542f3 |
Close
Hashes for pytea2-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743b2a7a4dfc68c14cf2f45200c6d7e8b8757fb0fd927108387da4c353aaf9b6 |
|
MD5 | 5d7c5a45fd6575f334a3df5ab6bdd624 |
|
BLAKE2b-256 | 6261d627c86f553ae5ffe18c852b0e9f6756854bfcc7c9a7e533fd792dc94da6 |
Close
Hashes for pytea2-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91080edd5aa36a8aff56c863141fb24da4ffb7b4eb2b8c57e5bd4a050495003a |
|
MD5 | c41e2c607a9125524b61b6763a76cdb8 |
|
BLAKE2b-256 | 15863f5716868a4443218e4e1752e7e8dca98665fc0ddfa25336b2c892aef690 |
Close
Hashes for pytea2-0.2.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0a0a99d72001f96b1c04f8657cbfdb3b5ea34bef0ac1b9c130798794a976676 |
|
MD5 | 2b2424b02dc5648c2e1190d8b9ecff1d |
|
BLAKE2b-256 | b6c95615380709a0926e3a3ab193804cdd4f127b26dd9ca2621041df87e40d2f |
Close
Hashes for pytea2-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8725842b38468c2efe884907a3d40d9b44c2d27a55c558b1c23a6c40f06fc4da |
|
MD5 | 54eae49488745c165d0faa5adabc456e |
|
BLAKE2b-256 | c25ad8c5f8bacfdaa932b9cf2fe55b4f7791243a8297a279b03bf0c9dc180780 |