Skip to main content

xxtea

Project description

Description

xxtea implemented as a Python extension module.

Installation

$ pip install xxtea -U

Example

from xxtea import decrypt, encrypt

key = "xxtea is good"
s = "xxtea is really good"

enc = encrypt(s, key, True)
dec = decrypt(enc, key, True)

print len(enc), enc
print len(dec), dec
assert s == dec

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

xxtea-0.1.1.zip (6.5 kB view details)

Uploaded Source

xxtea-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

xxtea-0.1.1.tar.bz2 (4.9 kB view details)

Uploaded Source

File details

Details for the file xxtea-0.1.1.zip.

File metadata

  • Download URL: xxtea-0.1.1.zip
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xxtea-0.1.1.zip
Algorithm Hash digest
SHA256 cd5963670949928d6104e0e71cf61b7146f474214ca34eac9ba7be9868164b8f
MD5 55d579f373832bb4b7e5db37b8338940
BLAKE2b-256 242b76121da2862befa0a0a81a2e0fd44f57f771334f2d5f5ec51f14c03695c8

See more details on using hashes here.

File details

Details for the file xxtea-0.1.1.tar.gz.

File metadata

  • Download URL: xxtea-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xxtea-0.1.1.tar.gz
Algorithm Hash digest
SHA256 58afc271f63787876fcc71e9c88adfe97dcf6c0bc03c3cc4e2cf405b5cf8205f
MD5 71281c3d1630336b6cb57717c44b16ac
BLAKE2b-256 234a4469fc15ee59a9a14f537d278a0a1d1964812c9d0fda4da898e8c4a7ae8b

See more details on using hashes here.

File details

Details for the file xxtea-0.1.1.tar.bz2.

File metadata

  • Download URL: xxtea-0.1.1.tar.bz2
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xxtea-0.1.1.tar.bz2
Algorithm Hash digest
SHA256 adffdabeab50e612c2410d3a73322ef54a5485fa1e1675d799e57ade27ce5a64
MD5 ecb45b6201941891952d24c8c554c9d4
BLAKE2b-256 f13d92085a2ab40513adbd468c8fc988cee51a38ba9f74552c82cfffec4f7050

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