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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Uploaded CPython 3.9macOS 10.9+ x86-64

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

Uploaded CPython 3.7m

File details

Details for the file tea_encrypt-0.0.1.tar.gz.

File metadata

  • Download URL: tea_encrypt-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for tea_encrypt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4c741f21fd54cf0bea0b6589a73ca2f8281459c1c061f34fd16e218a29a1e6c6
MD5 4776c188f4fb7770deec26999f8d3481
BLAKE2b-256 7f219fa6ab0b724eea6fc8924162c86423af12729cf286a29a616856165f9f18

See more details on using hashes here.

File details

Details for the file tea_encrypt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tea_encrypt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for tea_encrypt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d681e46920cba89e068809a5da370ea6c2ef190a5df99416b9aa9e6da68a4b24
MD5 bf646730742613194468b75854ccc099
BLAKE2b-256 9eb37e70138d7a65974963735adc49817c354afdc420c9c2820b1e206924fd07

See more details on using hashes here.

File details

Details for the file tea_encrypt-0.0.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: tea_encrypt-0.0.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

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

See more details on using hashes here.

File details

Details for the file tea_encrypt-0.0.1-cp37-cp37m-linux_armv6l.whl.

File metadata

  • Download URL: tea_encrypt-0.0.1-cp37-cp37m-linux_armv6l.whl
  • Upload date:
  • Size: 107.0 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for tea_encrypt-0.0.1-cp37-cp37m-linux_armv6l.whl
Algorithm Hash digest
SHA256 f1ede4b1804ed057aa84ec4e05aa1c3fbec25d66c6ba75fff77d49542bfc06b7
MD5 c8f457c81fee1fb39300e22514d59f69
BLAKE2b-256 2b8488f9ee3b1bb849f3b3ba9ca12f77929bb1baa6d9e9f4e3631ea97838a9e8

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