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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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