Skip to main content

Fast kasa crypt

Reason this release was yanked:

broken

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

Uploaded Source

Built Distributions

kasa_crypt-0.1.3-cp311-cp311-win_amd64.whl (40.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

kasa_crypt-0.1.3-cp311-cp311-win32.whl (40.5 kB view details)

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.1.3-cp311-cp311-musllinux_1_1_x86_64.whl (68.5 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.3-cp311-cp311-musllinux_1_1_i686.whl (67.6 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

kasa_crypt-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (65.1 kB view details)

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

kasa_crypt-0.1.3-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (63.9 kB view details)

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

kasa_crypt-0.1.3-cp311-cp311-macosx_11_0_x86_64.whl (39.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

kasa_crypt-0.1.3-cp310-cp310-win_amd64.whl (40.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

kasa_crypt-0.1.3-cp310-cp310-win32.whl (39.6 kB view details)

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.1.3-cp310-cp310-musllinux_1_1_x86_64.whl (65.9 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.3-cp310-cp310-musllinux_1_1_i686.whl (65.0 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.1.3-cp310-cp310-manylinux_2_31_x86_64.whl (61.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

kasa_crypt-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (62.2 kB view details)

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

kasa_crypt-0.1.3-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (61.2 kB view details)

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

kasa_crypt-0.1.3-cp310-cp310-macosx_11_0_x86_64.whl (38.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.3.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for kasa_crypt-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5f4654ac9104427ceda43b6860e640e3fc8fb7d05940bf09c358b99cf6f07d23
MD5 f0742882dc994e01f3ed9732e597c834
BLAKE2b-256 7c3086b0c444710132d1932abc7e736128ccc0a2e28378410bd4fde9698a4582

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c951dc39b36d5a81351799e97e61436790f6204bc5c5ae9382cd8ccf4caa1b86
MD5 a9725c05d96c049f946cb5687cda9b39
BLAKE2b-256 55a980918d2e7368e8b9898e87a14223ce40ad488c287d79319402e1d18f6962

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.3-cp311-cp311-win32.whl
  • Upload date:
  • Size: 40.5 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.1.3-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 d2eb4e55047e904d92b3ee958f237f530166d059c4863d4f8a1abc052689ddd9
MD5 7c8949e84dc1405cc66ff70a118d8f73
BLAKE2b-256 9093be5ed4bfefdc45348494ba418cb7284a02e92d5f6ce15ef3f18c6fba3d9b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1671bb130b83db03fec514b8813fc972efab70bfb5752bab66ba383750e0f4ed
MD5 e8efbf75b637a6eeb39bf210c46c5d4f
BLAKE2b-256 b3410bfbd8b63d8ecfbbb1572ed16daa945b436c2a3172bf0e7eee0740269c05

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 15fb570cbd7cb310c5164aaf6e8ea2e1487e5bea415769dfacf2893b79352770
MD5 782e00e132eb1b849ad8c13d02c7cfeb
BLAKE2b-256 2af5193fc5dd7f2fa0d2e120ed347c9f1a1c5bfd366eaa84c4ce3de2b3456af4

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.3-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.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 713f0bd92050347943c1ef4110cf0982f535655d30034b4fd49c04362b927def
MD5 b9e3543bc84e0ed7e62ce4b3fd019f5c
BLAKE2b-256 77a546abb3d3b97747f7d110e90d9a5e6d7a1a1d5af01652f4b8e64c9e7a773c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ae164c4113303f5f5cda48da830ccb04020cd66b80586b3f4a775ed8764a8fc8
MD5 f06b33bea7112f2c76ab72835d4281c5
BLAKE2b-256 8cc6d581a609ca5a8ce5d72e5df991d099f95faa3f3b2da97e5241c4efe9f850

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7259f858da3522679616ff961375309ef114d8851c65c50aa0dbf39a7956d58b
MD5 2745f7706a7e50a47f39bcfd31d107fa
BLAKE2b-256 d1e92c9e56adac5a8dfc8b17c17753696321e675de620381b53cf0c1a35064cf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bfb87a898202c46cda2a6396cc2c4624d25cef2ce0005fe4a71278b416df4428
MD5 bbe1e905f467a8cdbb88ea8948739d22
BLAKE2b-256 a069550af130c72ae1981bf1655c4d19bbde33cdefd47506e9923cf8ca9a4918

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.3-cp310-cp310-win32.whl
  • Upload date:
  • Size: 39.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.1.3-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 3f1c6232d0ef84e829f78811a137a0ad9d4025bd62d2cba3db2258660560eaee
MD5 1bde9b9548160fb39e92923198fbf7e1
BLAKE2b-256 4ef3a57186b5361cea7e271759d2ed3327bb20f0d45fef387230b7dce1c168e7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ae997b1d3a0b51afc906cf8aa7b4a0bb0ca12d8896c1104fcf2d89e67e176bd5
MD5 24ec8742674e59c2ee61f23ba627929c
BLAKE2b-256 5ae4b3f47a6832d445408b2f0972d871b097961508706e8c052f8e56ecdaf38a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 c68e1e0a31c1bc1083562fcf93d2b6894bfa61d7630f614fbfd1768088cfc373
MD5 8c071b76e77ac31440961a5953c83974
BLAKE2b-256 fd31e22839e29d56213e2935e7cec0b3b4b053aba6a1f5f2dcc4b97020b47f43

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.3-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 61.5 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/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for kasa_crypt-0.1.3-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 782a0316288f40802966afc85c4fa44f412278a94fb918efe8b9685b6c461143
MD5 a38ce17070a363fe7e7487728a2dfc74
BLAKE2b-256 792d2b24ae5d1d4f6d6dc62256901c6b7ec7b8d55fd278a8261df747f084fbeb

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.3-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.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a6fa42a55a7e37c5fb0262593ba37f13fd6bf3662eed86fe0d9e45afa75413d3
MD5 fefcff32608f783c84756bdb0e45537e
BLAKE2b-256 11b8a5514862efb034f29a6f496295551e36ea187b59442656c26854155ecdeb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f5d950bdc76e1e7d47e38533cbdc44e0a36f2f404c8f42a97eb409416c2393d4
MD5 5ddf53dfb30053e6f9e4be1e65c2c761
BLAKE2b-256 f9cad25d2482bd754fbc656218c749688fe25583b28d0a3312981899fd4e82e3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.3-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6350b7a5c59625e04a9f6dba9f0d3466270332556e9b3cf1c0838987198a5ec1
MD5 a13ffd09052df54f13cdaa0f292f3947
BLAKE2b-256 81ae75f6dba6d3da12501852855afcd435777c4da6708bdd7d9a646ed82adb08

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