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.3.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distributions

kasa_crypt-0.3.0-cp311-cp311-win_amd64.whl (67.9 kB view details)

Uploaded CPython 3.11 Windows x86-64

kasa_crypt-0.3.0-cp311-cp311-win32.whl (67.9 kB view details)

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.3.0-cp311-cp311-musllinux_1_1_x86_64.whl (139.1 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.3.0-cp311-cp311-musllinux_1_1_i686.whl (127.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

kasa_crypt-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (136.9 kB view details)

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

kasa_crypt-0.3.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (123.9 kB view details)

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

kasa_crypt-0.3.0-cp311-cp311-macosx_11_0_x86_64.whl (68.1 kB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

kasa_crypt-0.3.0-cp310-cp310-win_amd64.whl (67.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

kasa_crypt-0.3.0-cp310-cp310-win32.whl (65.6 kB view details)

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.3.0-cp310-cp310-musllinux_1_1_x86_64.whl (129.9 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.3.0-cp310-cp310-musllinux_1_1_i686.whl (127.0 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.3.0-cp310-cp310-manylinux_2_31_x86_64.whl (126.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

kasa_crypt-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (127.1 kB view details)

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

kasa_crypt-0.3.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (123.9 kB view details)

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

kasa_crypt-0.3.0-cp310-cp310-macosx_11_0_x86_64.whl (67.2 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

File details

Details for the file kasa_crypt-0.3.0.tar.gz.

File metadata

  • Download URL: kasa_crypt-0.3.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for kasa_crypt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 80c866a1f5d4ad419fcd454b2343a6ecfff8814195ab2caf108941971150ccd8
MD5 65b1cf87f6b32c90f19aabd99b15e9fb
BLAKE2b-256 5e0a05724aa28fa0dad05016cf1a0bf868a4c49b68e96904f43b096e83de2938

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 90f6c66b48db56631e7fe391f4e4934b0ddf6f41d31aa834c1baedc6c94b40d4
MD5 e10cd3a5f204627225fed4719e6fd1fe
BLAKE2b-256 974b442ba3ead7c3cb8e331377f3257ceea6f911d5fa0e44b9c4f3614cfcb563

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: kasa_crypt-0.3.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 67.9 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 0ede1c2e460e8481705a159e13b6e437fa09ac24993e4a55edc26a962ffa436e
MD5 1aa67fad449d72fc67c232822481ace2
BLAKE2b-256 08c14da5e929df72e60c3fb972f820eeaaa0fd29be5f966b229e967d4a5ba1e5

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c497dbaf1a76b190d025753f146af3e8c948d037b7ca293f4eeebb9f9721f4f8
MD5 86fafc89498f274bcec51f52caa58400
BLAKE2b-256 25fb1e8b4c3e05be93975e353a7bb3ba11c5245d3347988e1828c873fe7d79a0

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 17c7938af96b30416eac6899689e9126c1d17f8f9a0f9dcf9f5cda86f084c60d
MD5 6a2069b1ec9e6e5a18fa024e0f21b83d
BLAKE2b-256 11a3baf5bb01fcfc861115b18c94e5880a989f442a7bed3eaebf90240cda1124

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f5231874d7973036b7afce432bb5b7404cdafbbb4d46363580aafcc5d26fde5
MD5 d30a07680c6d7136b769e3865079b55a
BLAKE2b-256 71337d567797b87f0e022399dde8c0e5c4b40aa243041791e8d06ed9594636be

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 34ea41e7788062fc782bcfbe998f8c8d75308785e50c4e3f338dd4c2e488881f
MD5 1db24cb7f4746d3e189f3434c9eb66b7
BLAKE2b-256 56f7187a5269925c888d4017ab83489d5a26d1b69e6e86073066d5ff2ba89716

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 acc3fbb9adf7b80c310cf4bd7334d8bea8e19478b3a24447064093091acef93f
MD5 0b9db5b8bc1ba6b53b7afbd8955b4c0f
BLAKE2b-256 8edf0742e67021d860acb43738edb3d478dcb634fbe4bffe91208e1ea21b064c

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ccd10995596e746521a6c7be6ca39a87fae74ddd46558f1d6eea5ab221791107
MD5 4c82db6b2e98f79ae7b0593834c8e030
BLAKE2b-256 ffc800cab8476b4d6ded3ad50d292d18d61725ee2f5e1b5d46d7909a1f7f612a

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: kasa_crypt-0.3.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 65.6 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 da1f03dcc12261c10ae8c65bb02d809273ecdf1fc31a9dba58af1ae70cae970e
MD5 9fb848a576562ae10ab8a50db7e53775
BLAKE2b-256 ccda891dce1753c8766a6b7891e954d4636b97cfffc2e9a9519e3f0ca647fc8a

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c7e9f3852f087bc5af2077aa95c31a96a6e2a1f89198a4474dd641e578cd1086
MD5 85c0ef54eed0bcdf99dd3bc9d6cd7818
BLAKE2b-256 eb9bb6f9b35bc18310fd64c03ae384e273cefec1b790c32257707a49041a5766

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 dfa84ee1449939d04e5e4a1c6931a2d429f7c1236a6c99eb3970afdf4723fe76
MD5 39c0ea50ed5963169614f7504d4cce41
BLAKE2b-256 7e6571a266383e6787c9b9d2176739c57b81f2e0ad98ca79ecf2269212447ac4

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: kasa_crypt-0.3.0-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 126.2 kB
  • Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e7525a9770b0df0cde5f2b764dc5415eb5f136159477ffc85759f9dba21a1aff
MD5 f2522a2025fa031961b6b19b62dab069
BLAKE2b-256 428db7c2c521812f061f0dbd8f9375fbeece234f3e26804617aadc1858aff540

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa1558b81cb36be015f211d88c69ead8f8708add1206e89672ffc7f06449c682
MD5 efe266832968578e0ae89053969b7468
BLAKE2b-256 c8b3aa1c30bcb50dde8e6c47bb463012be4c91cf584f18ce95f7210fb5faf41f

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4a6b15fd4832051b5f75db1eec8c273ba6e5a3122cd7030e0f92d0a90babc5ed
MD5 abd6e2aa3ab40eefcb83f47630dce76d
BLAKE2b-256 783254fc95f8be0fc23ce67054bcd822a3d1df39daec40f1b21d15b7473ab9cd

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.3.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for kasa_crypt-0.3.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 17f543d6952d3cd8aa094429870f9e3241f6035df2ecfd1b937cd6e7da5902c6
MD5 4451bd49e05b24a3bc420a9aecc2768b
BLAKE2b-256 9045cbc4a623090891710620bccbf6023995e461bbc58ad8631b86243d5a9b59

See more details on using hashes here.

Provenance

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