AesIGE
Fast AES-256-IGE encryption with hardware acceleration.
- x86/x64: AES-NI instructions (Intel/AMD)
- ARM64: ARM Crypto Extensions (Apple M1/M2, AWS Graviton)
Drop-in replacement for tgcrypto - 2-3x faster.
Installation
pip install aesige
Usage
import aesige
key = b"0" * 32 # 256-bit key
iv = b"0" * 32 # 256-bit IV
data = b"x" * 32 # Must be multiple of 16
encrypted = aesige.ige256_encrypt(data, key, iv)
decrypted = aesige.ige256_decrypt(encrypted, key, iv)
Benchmarks (x86_64)
| Library | Decrypt (1KB) | Encrypt (1KB) |
|---|---|---|
| tgcrypto | 14.8 µs | 24.3 µs |
| aesige | 7.4 µs | 7.7 µs |
| Speedup | 2x | 3.2x |
Supported Platforms
| Platform | Backend |
|---|---|
| Windows/Linux/macOS x64 | AES-NI |
| macOS ARM (M1/M2) | ARM CE |
| Linux ARM64 | ARM CE |
| Other | tgcrypto fallback |
License
Apache License 2.0
Metadata
Release files for aesige 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aesige-1.0.0.tar.gz | 72.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aesige-1.0.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
Total release size: 167.3 kB
Release files / aesige-1.0.0.tar.gz
| Download URL | aesige-1.0.0.tar.gz |
|---|---|
| Size | 72.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae323ab523a1832b705c0da5040170784e2d8cd70d9fec4a1be46a2bada71a0f
|
|
BLAKE2b-256 checksum How to use checksums |
fbfc8d167d25b512a4b5f6d8407482658d8a18e486ceb79720b348eb5ff1df74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / aesige-1.0.0-cp312-cp312-win_amd64.whl
| Download URL | aesige-1.0.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 94.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3279c28bf4df28fbff766f288499d391f4d15b599582edd96be135aac54dda57
|
|
BLAKE2b-256 checksum How to use checksums |
09d5958e6df215f4c251a795e0d64b6566d02e90c8a59087133eda4f5d94682d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for aesige 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.