tea_encrypt
Project description
tea_encrypt
encrypt & decrypt string(bytes) with interleaving and padding random numbers TEA
Install
$ pip3 install tea_encrypt
Usage
from tea_encrypt import EncryptStr, DecryptStr
k = b"de1182b0f4203cad8d2ec629e35403d7"
v = b"this is a test"
encrypt_bytes = EncryptStr(v, k)
original_bytes = DecryptStr(encrypt_bytes, k)
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
tea_encrypt-0.0.1.tar.gz
(3.8 kB
view hashes)
Built Distributions
Close
Hashes for tea_encrypt-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d681e46920cba89e068809a5da370ea6c2ef190a5df99416b9aa9e6da68a4b24 |
|
MD5 | bf646730742613194468b75854ccc099 |
|
BLAKE2b-256 | 9eb37e70138d7a65974963735adc49817c354afdc420c9c2820b1e206924fd07 |
Close
Hashes for tea_encrypt-0.0.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1c8c63391e382139de29deb300ddc4a5af98c02d3032007f31ebbf77cd490d |
|
MD5 | c481a110a1149b5c94b469410788c457 |
|
BLAKE2b-256 | 13538d1bf9ce43e43f86aafe8205f8c7a836285e9d9dfe33cb196069670ac501 |
Close
Hashes for tea_encrypt-0.0.1-cp37-cp37m-linux_armv6l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1ede4b1804ed057aa84ec4e05aa1c3fbec25d66c6ba75fff77d49542bfc06b7 |
|
MD5 | c8f457c81fee1fb39300e22514d59f69 |
|
BLAKE2b-256 | 2b8488f9ee3b1bb849f3b3ba9ca12f77929bb1baa6d9e9f4e3631ea97838a9e8 |