semvec/pypi-packages huggingface dataset:
cxxtea 1.0.7
cxxtea is a simple block cipher implemented in C
License: BSD
Requires Python: >=3.6
Keywords: cxxtea

# cxxtea

`cxxtea` is a Python package for decrypting data, using a custom XXTEA decryption algorithm implemented in C.

## Features

- Provides efficient XXTEA decryption functionality, based on C implementation.
- Supports Python 3.6+

## Installation

Install the latest version of `cxxtea` from PyPI:

```bash
pip install cxxtea
```

## Usage
Here's how to use `cxxtea` for decryption:

```python
import cxxtea

data = b'...your encrypted data...'
sign = b'...your encryption sign...'
key = b'...your encryption key...'
delta = 0x9e3779b9 # default 0x9e3779b9
cut = 1 # default 1(True)
input_little_endian = 1 # bool # default 1(True)
output_little_endian = 1 # bool # default 1(True)

dec = cxxtea.decrypt(data, sign, key, delta, cut, input_little_endian, output_little_endian)