Metadata-Version: 2.4
Name: crijndael
Version: 1.0.2
Summary: AES-256 Encryption/Decryption
Home-page: https://github.com/Rin-Wood/crijndael
Author: wood
Author-email: miraclerinwood@gmail.com
License: BSD
Keywords: crijndael
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# crijndael

`crijndael` is a Python package for encrypting/decrypting data, using the AES-256 algorithm implemented in C.

## Features

- Provides efficient AES-256 encrypting/decryption functionality, based on C implementation.
- Supports Python 3.6+

## Installation

Install the latest version of `crijndael` from PyPI:

```bash
pip install crijndael
```

## Usage
```python
import crijndael

data = b'...'
key = b'...'
iv = b'...'
blocksize = 256
keysize = 256
mode = 0
# 0 - CBC, 1 - ECB

dec = crijndael.decrypt(data, key, iv, blocksize, keysize, mode)
enc = crijndael.encrypt(data, key, iv, blocksize, keysize, mode)
