--- id: http-ece version: "1.2.1" license: MIT license_treatment: permissive maintenance: active --- # http-ece — Encrypted Content Encoding for HTTP License: permissive · Maintenance: active · Downloads: 3.5M/mo ## What it is and what it does http-ece is a Python implementation of encrypted content encoding for HTTP, a standard mechanism for encrypting message bodies at the HTTP layer. It wraps the cryptography library to provide encrypt and decrypt functions that follow the HTTP Content-Encoding specification, allowing applications to protect sensitive payloads in transit. The package is actively maintained and supports a wide range of Python versions from 2.7 through 3.12, though it remains in Beta status. It is a straightforward, single-purpose library with no exotic dependencies beyond cryptography itself, making it suitable for applications that need standards-compliant HTTP-layer encryption without additional complexity. Use it for: - Encrypt sensitive HTTP request bodies before transmission to ensure privacy even if HTTPS is compromised or unavailable - Implement end-to-end encryption for web APIs where the server should not have access to plaintext payloads - Decrypt HTTP responses that were encrypted by a peer using the same standard, for applications handling encrypted content delivery - Add an extra layer of encryption on top of TLS for highly sensitive data in transit ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Implements encrypted content encoding for HTTP messages, allowing you to encrypt and decrypt HTTP request/response bodies using the standard HTTP Content-Encoding mechanism. Yes, if you need standards-compliant HTTP content encryption and can tolerate the high install friction from cryptography's compiled dependencies. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. It is worth installing for applications requiring end-to-end encryption at the HTTP layer, but weigh the compilation overhead against your deployment environment. ## Install pip install http-ece uv add http-ece poetry add http-ece ## Installing http-ece Before you install: High install friction due to the cryptography runtime dependency, which requires compilation on most platforms. The package is actively maintained with a recent commit on 2026-08-03, though it remains in Beta status. License in practice: MIT license is permissive, allowing commercial and private use with minimal restrictions—you must include the license notice but face no copyleft obligations. Quickstart: pip install http_ece import http_ece encrypted = http_ece.encrypt(plaintext, salt, key) decrypted = http_ece.decrypt(encrypted, salt, key) cryptography dependency requires a C compiler and OpenSSL development headers on most systems; pre-built wheels may not be available for all Python versions or platforms. Verify before relying: - Whether cryptography's compiled dependencies are pre-built for your target platform and Python version - Whether this implements RFC 8188 or another specific encryption standard for HTTP - Performance characteristics when encrypting/decrypting large payloads ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: high - Maintenance: active - Downloads: 3.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags HTTP content encryption, encrypted content encoding, HTTP message encryption, content-encoding crypto, encrypted HTTP payloads, HTTP encryption standard, cryptographic content encoding, http-encryption, standards-based [View on SkillFed](https://skillfed.io/packages/http-ece) · [View on PyPI](https://pypi.org/project/http-ece/)