chacha20poly1305-reuseable
ChaCha20Poly1305 that is reuseable for asyncio
What it is and what it does
This package wraps the ChaCha20Poly1305 authenticated encryption cipher from cryptography to make it reusable in asyncio contexts. ChaCha20Poly1305 is a modern AEAD (Authenticated Encryption with Associated Data) cipher combining the ChaCha20 stream cipher with the Poly1305 message authentication code, offering both confidentiality and authenticity in a single operation.
The package is designed to address a specific asyncio use case where cipher instances need to be reused across multiple encrypt/decrypt operations without the overhead or complexity of recreating the cipher for each call. It depends only on cryptography and supports Python 3.8 through 3.12. The repository is active and the package has been stable since its initial release in 2022.
Use it for:
- Encrypt and authenticate messages in asyncio-based network protocols or services
- Reuse a single cipher instance across multiple async tasks without recreating it each time
- Add authenticated encryption to async I/O operations where both secrecy and integrity matter
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a reusable ChaCha20Poly1305 AEAD cipher implementation optimized for asyncio applications, wrapping the cryptography library.
Yes, if you need authenticated encryption in an asyncio application and want to avoid recreating ChaCha20Poly1305 instances. The package has low install friction, permissive licensing, and no known vulnerabilities. However, note the Pre-Alpha classification and relatively small community; verify that the reusability pattern matches your specific asyncio use case before committing.
Install
chacha20poly1305-reuseable on PyPI
pip
pip install chacha20poly1305-reuseableuv
uv add chacha20poly1305-reuseablepoetry
poetry add chacha20poly1305-reuseableInstalling chacha20poly1305-reuseable
Before you install
Low friction: pure Python wheel with a single dependency on cryptography. Repository is active with recent commits, though the package is classified as Pre-Alpha and has been stable for over 2 years without frequent updates.
License in practice
Dual-licensed under Apache-2.0 or BSD-3-Clause (permissive). You may choose either license when using or distributing this package.
Quickstart
pip install chacha20poly1305-reuseable
from chacha20poly1305_reuseable import ChaCha20Poly1305
cipher = ChaCha20Poly1305(key)
Requires Python 3.8 or later; cryptography library must be installed and functional on your system.
Verify before relying
- Specific performance characteristics or benchmarks compared to direct cryptography usage
- Exact reusability patterns supported for asyncio contexts
- Whether Pre-Alpha status reflects incomplete API or just conservative versioning
- Key size requirements and other cipher initialization parameters
Package facts
| License | Apache-2.0 OR BSD-3-Clause (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — cryptography |
| Maintenance | actively maintained — 754 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 412,080/month — #6,851 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
kasa-cryptProvides fast encryption and decryption…
permissive · top 15,000 on PyPI
miscreantProvides misuse-resistant authenticated…
permissive · top 5,000 on PyPI
ibeacon-bleParses and decodes iBeacon BLE (Bluetooth Low…
permissive · top 15,000 on PyPI
sslcryptoProvides AES, ECIES, and ECDSA cryptographic…
unclear · top 15,000 on PyPI
httpx-oauthProvides an async OAuth client built on HTTPX…
permissive · top 5,000 on PyPI
aes-pkcs5Provides AES encryption and decryption with…
permissive · top 15,000 on PyPI
unifi-discoveryDiscovers Unifi devices on a network using…
permissive · top 15,000 on PyPI
pyaesPure-Python implementation of AES encryption…
permissive · top 5,000 on PyPI
aioouiPerforms asynchronous lookups of…
permissive · top 15,000 on PyPI
PGPy13PGPy13 is a Python library for OpenPGP…
permissive · top 15,000 on PyPI