Skip to main content

xxtea implemented in pure Python.

Project description

Description

xxtea implemented in pure Python

Installation

$ pip install xxtea -U

Example

from xxtea import decrypt, encrypt

key = "hey, lyxint"
s = "what's up, dude??"

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.0.1.zip (4.2 kB view details)

Uploaded Source

xxtea-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

xxtea-0.0.1.tar.bz2 (2.5 kB view details)

Uploaded Source

File details

Details for the file xxtea-0.0.1.zip.

File metadata

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

File hashes

Hashes for xxtea-0.0.1.zip
Algorithm Hash digest
SHA256 c51194f18637daf052541e896846ed25178648dbe6dace43ff23ea3ab5e7d154
MD5 0e24da10e3d64a8f8ff792908a1f5f58
BLAKE2b-256 45befcf6ee22c533ffeaba16b986c1460b77815d6c1623e0e71ef87035217473

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xxtea-0.0.1.tar.gz
Algorithm Hash digest
SHA256 72302ec143e8ee8c5d0ff191232d6e18e53b269198e01877f96e398d8efce62f
MD5 c0a140fb1ba6fa14156bd35334c772e4
BLAKE2b-256 096ce8b31262205fa38e6aebc4633c12fcb58215085b3668b3c8a158d8036ed9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xxtea-0.0.1.tar.bz2
Algorithm Hash digest
SHA256 92f0992b356c23283aa06fd91a8e4656c384a211c34ebd208697e122e071d06e
MD5 37e2c4acf24247859f83474ee8cd21e0
BLAKE2b-256 5383a3c39a432572522f14e470c00ed400133a6e1d48da0a61de891bfa2f0823

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