This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This is an XTEA-Cipher implementation in Python 3 (eXtended Tiny Encryption Algorithm).

XTEA is a small blockcipher with 8 bytes blocksize and 16 bytes Keysize (128-Bit). The algorithm is secure at 2014 with the recommend 64 rounds (32 cycles). The minimum for rounds is 38 (19 cycles). This implementation supports following modes of operation: ECB, CFB, CBC, OFB, CTR. It also supports CBC-MAC

Documentation can be found here. Documentation is currently offline!

Example:

>>> from xtea3 import *
>>> key = b" "*16  # Never use this key
>>> text = b"This is a text. "*8
>>> x = new(key, mode=MODE_OFB, IV=b"12345678")  # Never reuse the IV!
>>> c = x.encrypt(text)
>>> text == x.decrypt(c)
True

Note

I does NOT guarantee that this implementation is secure. If there are bugs, tell me them. The old version for Python 2 will still be updated. My GPG/PGP key: 0CB97138 (full fingerprint: 8F93 4984 3BA7 4A1C E5F2 A1BA 1338 DFDE 0CB9 7138)

Changelog

Version 0.3.2; Jul 30, 2015

[0.3.2] Fixed installer

Version 0.3.1; Oct 30, 2014

[0.3.1] Fixed #1: TypeError on windows 7 and python 3.4

Version 0.3.1; Oct 30, 2014

[0.3.1] Fixed #1: TypeError on windows 7 and python 3.4

Version 0.3.0; Jul 18, 2014

[0.3.0] Fixed CBCMAC

  • Fixed CBCMAC implementation
  • Added documentation

Version 0.2.0; Jul 18, 2014

[0.2.0] CBC, CFB, CTR | added CBCMAC

  • Added CBC, CFB, CTR and CBCMAC
  • Raises a NonImplementedError on other modes (PGP, unofficial CCM and others)

Version 0.1.1; Long ago…

[0.1.1] NotImplementedError on CFB

  • Module raises a NotImplementedError on CFB
  • Minor changes

Version 0.1; Jun 22, 2014

[0.1] Initial release

  • Supports all mode except CFB
  • Buggy CTR ( “ß” = “\xc3\x9f” )
  • Working with PEP 272, default mode is ECB
Release History

Release History

0.3.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
xtea3-0.3.2-py2.py3-none-any.whl (10.1 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jul 30, 2015
xtea3-0.3.2.tar.bz2 (8.0 kB) Copy SHA256 Checksum SHA256 Source Jul 30, 2015
xtea3-0.3.2.tar.gz (7.8 kB) Copy SHA256 Checksum SHA256 Source Jul 30, 2015
xtea3-0.3.2.zip (11.1 kB) Copy SHA256 Checksum SHA256 Source Jul 30, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting