Skip to main content

Fast kasa crypt

Project description

kasa-crypt

CI Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

Fast kasa crypt

Installation

Install this via pip (or your favourite package manager):

pip install kasa-crypt

Example usage

from kasa_crypt import encrypt, decrypt

encrypted = encrypt('{"hello":"world"}')
decrypted = decrypt(encrypted[4:])  # Always a 4 byte header
print (decrypted)

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Credits

This package was created with Copier and the browniebroke/pypackage-template project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kasa_crypt-0.4.4.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distributions

kasa_crypt-0.4.4-pp310-pypy310_pp73-win_amd64.whl (68.3 kB view hashes)

Uploaded PyPy Windows x86-64

kasa_crypt-0.4.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (70.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

kasa_crypt-0.4.4-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (70.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

kasa_crypt-0.4.4-pp310-pypy310_pp73-macosx_14_0_arm64.whl (66.6 kB view hashes)

Uploaded PyPy macOS 14.0+ ARM64

kasa_crypt-0.4.4-cp312-cp312-win_amd64.whl (71.4 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

kasa_crypt-0.4.4-cp312-cp312-win32.whl (69.0 kB view hashes)

Uploaded CPython 3.12 Windows x86

kasa_crypt-0.4.4-cp312-cp312-musllinux_1_1_x86_64.whl (146.4 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

kasa_crypt-0.4.4-cp312-cp312-musllinux_1_1_i686.whl (141.5 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

kasa_crypt-0.4.4-cp312-cp312-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (144.0 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

kasa_crypt-0.4.4-cp312-cp312-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (139.1 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

kasa_crypt-0.4.4-cp312-cp312-macosx_14_0_arm64.whl (70.2 kB view hashes)

Uploaded CPython 3.12 macOS 14.0+ ARM64

kasa_crypt-0.4.4-cp311-cp311-win_amd64.whl (71.0 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

kasa_crypt-0.4.4-cp311-cp311-win32.whl (68.8 kB view hashes)

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.4.4-cp311-cp311-musllinux_1_1_x86_64.whl (139.6 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.4.4-cp311-cp311-musllinux_1_1_i686.whl (136.2 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

kasa_crypt-0.4.4-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (136.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

kasa_crypt-0.4.4-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (133.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

kasa_crypt-0.4.4-cp311-cp311-macosx_14_0_arm64.whl (69.9 kB view hashes)

Uploaded CPython 3.11 macOS 14.0+ ARM64

kasa_crypt-0.4.4-cp310-cp310-win_amd64.whl (70.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

kasa_crypt-0.4.4-cp310-cp310-win32.whl (24.1 kB view hashes)

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.4.4-cp310-cp310-musllinux_1_1_x86_64.whl (88.2 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.4.4-cp310-cp310-musllinux_1_1_i686.whl (85.4 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.4.4-cp310-cp310-manylinux_2_31_x86_64.whl (84.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

kasa_crypt-0.4.4-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (85.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

kasa_crypt-0.4.4-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (81.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

kasa_crypt-0.4.4-cp310-cp310-macosx_14_0_arm64.whl (25.2 kB view hashes)

Uploaded CPython 3.10 macOS 14.0+ ARM64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page