--- id: aes-pkcs5 version: "1.0.4" license: BSD-2-Clause license_treatment: permissive maintenance: active --- # aes-pkcs5 — Implementation of AES with CBC/ECB mode and padding scheme PKCS5 License: permissive · Maintenance: active · Downloads: 197.4K/mo ## What it is and what it does AESPKCS5 is a Python wrapper around the cryptography library that simplifies AES encryption with CBC and ECB block cipher modes and PKCS5 padding. It abstracts away some of the lower-level setup required by cryptography, making it easier to perform symmetric encryption without deep cryptographic expertise. The package is actively maintained, supports Python 3.9 through 3.13, and carries no known vulnerabilities. It depends only on cryptography, keeping the dependency tree minimal. The BSD-2-Clause license permits use in both open-source and commercial projects. Use it for: - Encrypt sensitive configuration data or credentials in applications that need straightforward AES encryption without cryptography boilerplate. - Implement symmetric encryption for data at rest in web services or APIs that require PKCS5-compatible padding. - Decrypt legacy systems or third-party data that uses AES-CBC or AES-ECB with PKCS5 padding. - Prototype or build proof-of-concept encryption features quickly without managing low-level cipher initialization. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides AES encryption and decryption with CBC/ECB modes and PKCS5 padding, wrapping the cryptography library for straightforward symmetric encryption operations. Yes, if you need AES encryption with PKCS5 padding and prefer a simpler API than cryptography alone. The package is stable, actively maintained, carries no security vulnerabilities, and has low install friction. It is not worth installing if you already use cryptography directly or need more advanced cryptographic features beyond basic AES modes. ## Install pip install aes-pkcs5 uv add aes-pkcs5 poetry add aes-pkcs5 ## Installing aes-pkcs5 Before you install: Low install friction with a single dependency on cryptography. Actively maintained with last commit 2026-08-14 and latest release 2025-04-26 indicate ongoing support. License in practice: BSD-2-Clause is permissive; you can use this package in commercial and proprietary projects with minimal restriction beyond retaining the license notice. Quickstart: pip install aes-pkcs5 from aes_pkcs5 import AESPKCS5 cipher = AESPKCS5(key=your_key) encrypted = cipher.encrypt(plaintext) decrypted = cipher.decrypt(encrypted) Requires Python 3.9 or later; cryptography library must be installed as a runtime dependency. Verify before relying: - Whether the package handles key derivation or expects raw keys only - Performance characteristics compared to direct cryptography library use - Whether PKCS5 implementation is compatible with other standard implementations - Specific API signatures and parameter requirements for encrypt/decrypt methods ## Package facts - License: BSD-2-Clause (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 197.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags AES encryption CBC ECB, PKCS5 padding Python, symmetric encryption library, AES cipher modes, cryptography wrapper, aes-encryption, symmetric-crypto [View on SkillFed](https://skillfed.io/packages/aes-pkcs5) · [View on PyPI](https://pypi.org/project/aes-pkcs5/)