kasa-crypt
Fast kasa crypt
Decision gist · record as of 2026-08-14
Yes, if you need simple, fast symmetric encryption for JSON or string data and are comfortable with pre-alpha software. The permissive Apache-2.0 license, zero runtime dependencies, and active maintenance are positive signals. However, verify the underlying algorithm meets your security requirements and audit the 4-byte header behavior before using in production. Not recommended for cryptographically sensitive applications without security review.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9; compiled wheels available for common platforms but may require compilation on unsupported architectures.
- Medium install friction due to compiled wheels across multiple Python versions and platforms (3.9–3.14, x86_64, ARM, Windows, macOS, Linux variants).
- Repository is active with recent commits; pre-alpha status suggests ongoing development.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2025-10-04 (314 days) · last repo commit 2026-08-10 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,221 downloads/mo, #13,880 on PyPI
Alternatives
Verify before relying
pip install kasa-crypt
from kasa_crypt import encrypt, decrypt
encrypted = encrypt('{"hello":"world"}')
decrypted = decrypt(encrypted[4:]) # Skip 4-byte header
print(decrypted)- What encryption algorithm (AES, ChaCha20, etc.) is used internally.
- Whether the 4-byte header encodes metadata or is purely structural.
- Performance benchmarks relative to other Python crypto libraries.
- Security audit status or cryptographic review history.
What it is and what it does
kasa-crypt is a lightweight encryption library that wraps fast cryptographic operations for encrypting and decrypting data, particularly JSON payloads. It exposes two main functions—encrypt() and decrypt()—and automatically prepends a 4-byte header to encrypted output that must be stripped before decryption. The package is distributed as pre-compiled wheels for Python 3.9 through 3.14 across major platforms (Linux, macOS, Windows, ARM), reducing installation friction on supported systems.
The library is in pre-alpha development but actively maintained, with no known security vulnerabilities. It has no runtime dependencies beyond the Python standard library, making it lightweight to integrate. The minimal API surface and straightforward usage pattern suggest it is designed for simple, fast encryption tasks rather than complex key management or authenticated encryption scenarios.
Use it for
- Encrypt JSON configuration or API payloads before transmission over untrusted channels.
- Quick data obfuscation in Python scripts without external crypto dependencies.
- Protect sensitive strings in application logs or temporary storage.
- Fast symmetric encryption for IoT or embedded Python environments (kasa device context).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple, fast symmetric encryption for JSON or string data and are comfortable with pre-alpha software.
The permissive Apache-2.0 license, zero runtime dependencies, and active maintenance are positive signals. However, verify the underlying algorithm meets your security requirements and audit the 4-byte header behavior before using in production. Not recommended for cryptographically sensitive applications without security review.
Install
kasa-crypt on PyPI
Before you install
Medium install friction due to compiled wheels across multiple Python versions and platforms (3.9–3.14, x86_64, ARM, Windows, macOS, Linux variants). Repository is active with recent commits; pre-alpha status suggests ongoing development.
Requires Python >=3.9; compiled wheels available for common platforms but may require compilation on unsupported architectures.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install kasa-crypt
from kasa_crypt import encrypt, decrypt
encrypted = encrypt('{"hello":"world"}')
decrypted = decrypt(encrypted[4:]) # Skip 4-byte header
print(decrypted)
Verify before relying
- What encryption algorithm (AES, ChaCha20, etc.) is used internally.
- Whether the 4-byte header encodes metadata or is purely structural.
- Performance benchmarks relative to other Python crypto libraries.
- Security audit status or cryptographic review history.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 314 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,221 / month, #13,880 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries |
Evidence: kasa_crypt-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl; kasa_crypt-1.1.0-cp310-cp310-macosx_11_0_arm64.whl; kasa_crypt-1.1.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; kasa_crypt-1.1.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; kasa_crypt-1.1.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; kasa_crypt-1.1.0-cp310-cp310-musllinux_1_2_aarch64.whl; kasa_crypt-1.1.0-cp310-cp310-musllinux_1_2_armv7l.whl; kasa_crypt-1.1.0-cp310-cp310-musllinux_1_2_x86_64.whl; kasa_crypt-1.1.0-cp310-cp310-win32.whl; kasa_crypt-1.1.0-cp310-cp310-win_amd64.whl; kasa_crypt-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl; kasa_crypt-1.1.0-cp311-cp311-macosx_11_0_arm64.whl; kasa_crypt-1.1.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; kasa_crypt-1.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; kasa_crypt-1.1.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl; kasa_crypt-1.1.0-cp311-cp311-musllinux_1_2_aarch64.whl; kasa_crypt-1.1.0-cp311-cp311-musllinux_1_2_armv7l.whl; kasa_crypt-1.1.0-cp311-cp311-musllinux_1_2_x86_64.whl; kasa_crypt-1.1.0-cp311-cp311-win32.whl; kasa_crypt-1.1.0-cp311-cp311-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fast encryption decryption”
- kasa-cryptProvides fast encryption and decryption functions for JSON and other…
- pikepdfpikepdf reads, writes, repairs, and transforms PDF documents through…
- TgCryptoTgCrypto provides fast C-based implementations of AES-256 encryption…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also chacha20poly1305-reuseable · pyAesCrypt · aws-encryption-sdk · sopsy · fnv-hash-fast · pywidevine · xxtea · ansible-vault · scrypt · aws-encryption-sdk-cli