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

Uploaded Source

Built Distributions

kasa_crypt-0.1.5-cp311-cp311-win_amd64.whl (41.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

kasa_crypt-0.1.5-cp311-cp311-win32.whl (41.4 kB view details)

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.1.5-cp311-cp311-musllinux_1_1_x86_64.whl (71.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.5-cp311-cp311-musllinux_1_1_i686.whl (70.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

kasa_crypt-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (67.8 kB view details)

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

kasa_crypt-0.1.5-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (66.4 kB view details)

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

kasa_crypt-0.1.5-cp311-cp311-macosx_11_0_x86_64.whl (40.1 kB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

kasa_crypt-0.1.5-cp310-cp310-win_amd64.whl (41.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

kasa_crypt-0.1.5-cp310-cp310-win32.whl (40.5 kB view details)

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.1.5-cp310-cp310-musllinux_1_1_x86_64.whl (69.4 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.5-cp310-cp310-musllinux_1_1_i686.whl (68.2 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.1.5-cp310-cp310-manylinux_2_31_x86_64.whl (65.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

kasa_crypt-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (65.9 kB view details)

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

kasa_crypt-0.1.5-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (64.4 kB view details)

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

kasa_crypt-0.1.5-cp310-cp310-macosx_11_0_x86_64.whl (39.5 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 c99dd5db02fce5a9a95da83916a9c65ab6d6c4f3b1635ff4b0edb82426a44d78
MD5 88c7a019dbac6dc284603cc0045eed12
BLAKE2b-256 ac366cae0da1e2f0b960ca8632c4b9fbc4a490cb565517d6f4759f874fe5e8c8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 571886a2638b576a5eec15a0e42d94f3d6b8bc0435ff964dce8bf6907d87d760
MD5 62c608812a860ec56758757e158d2f93
BLAKE2b-256 9cb39264c5d4564ea7b5a6f1a8a8c706b19555d297a77e405c20606d830fb8f7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.5-cp311-cp311-win32.whl
  • Upload date:
  • Size: 41.4 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.5-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 eb5a1918f574475b6f08d370650c93b3d009c2ccc20d75f46b86a6a031960ef6
MD5 0830985edb781ad31b6f42094271e711
BLAKE2b-256 49e56fda3589cc84d3bee18f38af187cb0626b75e6f9cc2a8bacbb74cb500506

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 87e63a766b7a93c28f8dbce8503f43c426c3361f36e543d13e968a92ea11efe2
MD5 83503342806ff620f2974ccaf2929110
BLAKE2b-256 9158f0a6fb1e17f659373e63eea499d2026fdda8c9dd9e8cea637c02a66f808a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 7f97a73e84c856c2356c33bd1c663ad0a875166577cb66e5446ee820003ace53
MD5 8222f728cc9a7025c6ed37e42326df85
BLAKE2b-256 95675b314c368a4822939405578df9096cead654eed39e0d2092c38289b41f96

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.5-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.5-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d517ae163ef45e68f3776224a23c5e30e256d619e7b5ff76ecff71f5205febb
MD5 c184be1774569683fe05140f0b7af159
BLAKE2b-256 34524f4cd0ea0f4f4b25c430ec6f4da7eeaa5672f358facaa35ef02616e85a5a

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.5-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.5-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 eb832ac4370e1b484570befd42e74ca42bba1a20841ca3b6fc704e7f8db0fc2f
MD5 52e77b803deda29d5b61943fbc8dbc5b
BLAKE2b-256 fefa94b722e6fa5d9f3b64bde916e253549abf1a8402fc5d1c5124b67c7a8425

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7bc66ebb38df0e99026c4c1937a840dc3cab16c579055d507ce45924276ded69
MD5 abdd4c0e2392f48f54122dc79af5d331
BLAKE2b-256 032226963ac3f724d98c76e95bc16c0234554ef91960fb5dacd0a5dc98745b42

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6543568be79f95a2e80992aa6705eba3d1a4eecd71316bc6264aa94f6b85af36
MD5 8f510fe59bf97edeaebe9ed6d3b4815e
BLAKE2b-256 87a2201e12babf2448df309d4c6fb0e6fe8c27c6cd0ff28cf985239465704cf8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.5-cp310-cp310-win32.whl
  • Upload date:
  • Size: 40.5 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.5-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 237e10485b23a193f92cf510ed60a5b8f8175b0c7b26c72e40b3b91ca22b9322
MD5 c057008243130682428f967939da22d6
BLAKE2b-256 07bd3ded5298c95d04ca2872ec7929622f8896ffef0f00131af986dfb2bf2925

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8ddee3bba63dfb9690b8cc77bccdd5920fd372fc75bb9c5a07ed868571913141
MD5 37681afa432ef01bfc988bb4d280514b
BLAKE2b-256 621dda9332e7f98f15bc9971d4736d0bcfb089b886c328413935c105015ff10f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 4b1c93dc55caf3114674a30f8dfb903b80109838be7d7db261fe83dfb4bd09be
MD5 1af75e21fe58f6168ea5b1d92f5d1c79
BLAKE2b-256 672d6e68451c55d319c32a763273d4bd1d29beaca3b4b242005a34648db2e5d7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.5-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 65.1 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.5-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e89d15df09c7ed21262ba0b84e1e95e4ff849226dc2fe3378d68badc99021b50
MD5 361199bc9186d2ba7b9812930cce00e8
BLAKE2b-256 61a0f949b53fa2d9c678f1482003bf0e5c9354bd52a1316263d27144bc5c5363

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.5-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.5-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 672a851e62afe885bb7e012866c7ea89c8942da72697df380ee3ae9c562d7f1d
MD5 307a66718e99380216cc8f4caf61d275
BLAKE2b-256 8cbe835f2b73185daed17743ecfcd390a9d10c5db592fc61a88ca01b9faf1908

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.5-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.5-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3ecd0d7755c1513fdd881a4655fb4e77934266e3a9ae1ad7b64d1492440c95ff
MD5 47d9778bd55d467574ffa7e3ba237a90
BLAKE2b-256 852ea8ae963b649b61dc5d11748a15c600f232613d567573a84b54ed28325a71

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.5-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e5e33708b84ca5862cf9a4dba555d3fd4a3ccae7999c9e835f7ec1363dbc8cc3
MD5 323f2eb9ce3c51814ea3f3483199b0aa
BLAKE2b-256 a37db3608f1243c2cd07effb8a53ecd83504a7e6c994517057c87426ed9dec77

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