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)
dec = decrypt(enc, key)

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

Details for the file xxtea-0.1.2.zip.

File metadata

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

File hashes

Hashes for xxtea-0.1.2.zip
Algorithm Hash digest
SHA256 b3773c602d66469bfd984fe46fdc66bf466c6147414cf1ecffc1e4c500bab688
MD5 fe9f9f9280e05ed069bb1c378875bfd5
BLAKE2b-256 c355fd395bfb53de2efc893b78a8d49ae840b2748526ef47467e35844da4711b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xxtea-0.1.2.tar.gz
Algorithm Hash digest
SHA256 998c42540d47a38079004e0ddebedf1bbac74fb35597aa03a18ba35e71b3fe11
MD5 758e10e0d180d2e24fb7a5fdd07e5027
BLAKE2b-256 359744eb6f11fe99d697e0152b26b1fc72bf1e9f807293d65a430abbade95e1a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xxtea-0.1.2.tar.bz2
Algorithm Hash digest
SHA256 c2c21bd4b003ed1a8a40fa7c61cf39581609179fe0bdc785999a8eb553d37082
MD5 aa0c7f5b6a3fc0f8c915edc4bdd9919f
BLAKE2b-256 ac5f130fd9fbf5ea18d66dda2696bd96c7d61ec66b6798e1262f0aad2ff8fe62

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