Publisher review:Python XTEA Encryption module represents a simple python implementation of the XTEA block encryption algorithm. The module implements the basic XTEA block encryption algorithm (`xtea_encrypt`/`xtea_decrypt`) and also provides a higher level `crypt` function which symmetrically encrypts/decrypts a variable length string using XTEA in OFB mode as a key generator.
The `crypt` function does not use `xtea_decrypt` which is provided for completeness only (but can be used to support other stream modes - eg CBC/CFB). This module is intended to provide a simple 'privacy-grade' Python encryption algorithm with no external dependencies.
The implementation is relatively slow and is best suited to small volumes of data. Note that the XTEA algorithm has not been subjected to extensive analysis. For applications requiring 'real' security please use a known and well tested algorithm/implementation. The security of the algorithm is entirely based on quality (entropy) and secrecy of the key. You should generate the key from a known random source and exchange using a trusted mechanism. In addition, you should always use a random IV to seed the key generator (the IV is not sensitive and does not need togenerator (the IV is not sensp>
Python XTEA Encryption 1.4 is a Python script for Programming Methods and Algorithms scripts design by Paul Chakravarti.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Python XTEA Encryption module represents a simple python implementation of the XTEA block encryption algorithm.
Operating system:Windows / Linux / Mac OS / BSD / Solaris