Skip to main content

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


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)

Uploaded Source

Built Distributions

tea_encrypt-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

tea_encrypt-0.0.1-cp39-cp39-macosx_10_9_x86_64.whl (24.1 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

tea_encrypt-0.0.1-cp37-cp37m-linux_armv6l.whl (107.0 kB view hashes)

Uploaded CPython 3.7m

Supported by

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