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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

Details for the file xxtea-0.1.zip.

File metadata

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

File hashes

Hashes for xxtea-0.1.zip
Algorithm Hash digest
SHA256 11070d8b23068bbcfcbe5b91bbc007c025dfd27ba98e04cf1a40cf78610f23ab
MD5 93b3deb696151cfa52ddff6739f42ba9
BLAKE2b-256 86c03c71156086d6be83e6d5beb3f91821e08e60aa3dcae45fed609db2e9a5b9

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for xxtea-0.1.tar.gz
Algorithm Hash digest
SHA256 e19608a6c94bffdfa7e306e93f77888e464e19d6707e65a844b7732eda1f0537
MD5 4f0d9226f1935a2e0cda6596b1965331
BLAKE2b-256 6470a46660fe5096dba80c16bdb0635e3f405300ea3384cc420c8443fbe98a92

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for xxtea-0.1.tar.bz2
Algorithm Hash digest
SHA256 7e410162778c70e326eca32c7ee00154c9237e7dffdcd2f260f94acc31dfa8be
MD5 5b3a5241d2a1b0746bff7ab0aa59fc5d
BLAKE2b-256 eb27909c4eefd1262531eb2dcc16f5b614a5f34a19792b95423046ed92ae1e40

See more details on using hashes here.

Provenance

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