Skip to main content

Fast kasa crypt

Reason this release was yanked:

does not handle null bytes

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.1.4-cp311-cp311-musllinux_1_1_x86_64.whl (68.4 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.4-cp311-cp311-musllinux_1_1_i686.whl (67.5 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

kasa_crypt-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (65.0 kB view details)

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

kasa_crypt-0.1.4-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (63.8 kB view details)

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

kasa_crypt-0.1.4-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.4-cp310-cp310-win_amd64.whl (40.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.1.4-cp310-cp310-musllinux_1_1_x86_64.whl (65.8 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.4-cp310-cp310-musllinux_1_1_i686.whl (64.9 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.1.4-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.4-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (62.1 kB view details)

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

kasa_crypt-0.1.4-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (61.1 kB view details)

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

kasa_crypt-0.1.4-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.4.tar.gz.

File metadata

  • Download URL: kasa_crypt-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f6d231b419180a78d7fa95f9d1d90f32751b98fa68dad01559a5e978dd3de26a
MD5 541bfd9ab2fdc2c894f68a40ffcc63c4
BLAKE2b-256 3820fac32a624aa3ed4ae653902e7ca4506dfe829c29ec25ae68b20e4c8754b8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a3b6d7947e36d342a26b3e1d51f4a33fcffa21283ad37a498176a4126b3ca7c2
MD5 072209c1f43e26cb11cd6d91d4c9a67a
BLAKE2b-256 8d7d4226c2a3875c4990ab91bd632ffd43c5005b31e5146d4882a4a4c75ab87f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.4-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.4-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 e5e9fdbfae401f54c0378e4222fba1035d06f1e43356ce4bcef3b79fe068adb6
MD5 268431350f2c22ba0dc39a24a3c6d9cd
BLAKE2b-256 49dc5cd76a85633587ef66e67b9a09f4549909281c888c826af0b89dcfa37911

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8ebf8355153b05c0fdd0baa1e09b7d4c39004988def771b78d9e1d9f68fda4f7
MD5 a2a51376076e649bcf55ac28cc265441
BLAKE2b-256 6916c6e7698322f6c1fbd67d07614a05cee947bb2ebc8199a3ed11c18ec189fc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 3c3ab62696b639bf56efd0693f1cc4d712bdfad3ced002146247ee68c1ddb1f6
MD5 d86e60d5664f4b9f927861c0faa1c718
BLAKE2b-256 1cfb8cc5fbe1e56954f57820324e082f236f27d0baac64edbace857877df9772

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.4-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.4-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4dfb5f53f3bd88b49da288e6022ad9a468e9036d24c547a95fef88baa5a50030
MD5 94cec2219820447c2a8b5aae6f1047b5
BLAKE2b-256 69b6d798caaf449319d463932328b3a1b0a642eb23b23ab4e3914707356b36fd

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.4-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.4-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 91a258c1a47378b1c8ab33a57aae9fdcc89b0cdcc1549b36e380322a46472fdd
MD5 f419b027bbfa05e89af5aba920312e6d
BLAKE2b-256 2be2b0ea0e0059abfbdcd2caea09b6f7f9163ebb0f540f7445fa9dae1aa4b4bc

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0f346e3748d36a5310c09f76da5eb8155a7bf48ef751ee4b85ce402a90ae948f
MD5 21e1e9ec5c69eee14ed91109e515dd1b
BLAKE2b-256 376ce4b13ecb92306a0dcf4bd4d5f2decafd94a88fe73f50db645228bf89d800

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 824b4c0c22274dc6777ec15c0c35d9eacf80be4ef1f3c9368ba77dc1e1a5f8ba
MD5 76ebd2caecb883cc0f237401fa1de14d
BLAKE2b-256 32dd4b46b94b3f44629214edb795900e01c48c34e81596fbfbcc1f4de437168f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.4-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.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a1f45fc1b9e6624ef508806fbfca319cd567281da7dede305032add145659995
MD5 67a4fa598319625b085c71365f153a3f
BLAKE2b-256 723913d480c5e304a0ef3ff355232886c2e3942b9910ee405d84e8e6d2ed264a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 714011fef95f88c20d24da65065d7b9e47f3a8786989f0ee9a860438b767e7a3
MD5 1305758900f55dd4fde30d9926119336
BLAKE2b-256 dff7cb0f3b621a1770ae253e1bd1fc404c57f8ec4c76f2b26391dd54f5f83b01

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 5004787c1d6cb387da04a1bf06f01299881b43e8580744e5e49a284ee4137208
MD5 75c498bdfc711fcc89184c1b9e0625d7
BLAKE2b-256 0e765b78a7fea994c434b43171e3aaa9ecbdd9d8ff93e58c950c487f94b73100

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.4-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.4-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5cb61c127ade1d91cee7676fafa0a00b564195140ea9fc276f932946f8f143c8
MD5 41b3226b7b1e524c60f2bf8bd6983777
BLAKE2b-256 85a224d70965837ceaa6bfede1f8674569803688cd7ceaeb7c43994056ce2338

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.4-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.4-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d80506f83bf6c933e78c08d40516a1b8134683c2085f53f058ee1099dcf41ef2
MD5 1dd6c9c0d845ab14baba241068e49da8
BLAKE2b-256 a1cab1d5e2aaa102c9cae46f04d4152b921293f919d6b2bbe4a52578bdacf089

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.4-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.4-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c837473170ee699cde290a618bd7e00fede76add7d73b509813e1e719e9dd60a
MD5 28861fb05b57321f29640af1b2b887dd
BLAKE2b-256 cdc8c765ebda4f67b2c0c20761eab291a4b1491b8908ec23c787b970dca52a37

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.4-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 1b5510ed115049e04594dd74ba9008dc3d53d942dda7be284747e97d5a24a68d
MD5 a48032e8ac1cb1f821885c6498000612
BLAKE2b-256 962202f66ea01c8077dbea9b56c792b6110e04e028c0929a6a7ee589fb22fd64

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