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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.1.2-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.2-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.2-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.2-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (63.7 kB view details)

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

kasa_crypt-0.1.2-cp311-cp311-macosx_11_0_x86_64.whl (39.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

kasa_crypt-0.1.2-cp310-cp310-win32.whl (39.5 kB view details)

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.1.2-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.2-cp310-cp310-musllinux_1_1_i686.whl (64.8 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.1.2-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.2-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.2-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.2-cp310-cp310-macosx_11_0_x86_64.whl (38.6 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f67f9a4ba3a763078a94e0cfd595552ca46a67db131cbe750c11cc47bba1fd1e
MD5 33168a5a3fb09377576cb0c4846c65a3
BLAKE2b-256 41ccd7e620eb41c5fa0ea78639262ca5de4935dfc23fdcb9a1b0729fa0406369

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d4f3a55b1e19bc6524a55de0ebb89031f2dfd9411f1d0ab30dc4bfe70298c3fc
MD5 3b34bae920ee465f0f2500fb87d75977
BLAKE2b-256 49ff467e3b445826d79c73c4ea1d7e9edfb463aa55b6ef8aff9195dbbea7c34c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.2-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.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 3392bf0126ae64db6572f8a8eb290918c8043a4f9915812f0d491757ce05584d
MD5 2f1e8d95bfabee765648a2ba1ab11f9a
BLAKE2b-256 11ca79f6101244293b78e6da4e018f0da4f360639f66869ae141486565dc6442

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 91f6f148949b0988f13ea33067a967fc4050af324cda2f1e0a2522bbcd5bbd36
MD5 e444d6e4ddea9839ce6ccd691ae40eff
BLAKE2b-256 ba05324201cd1a6449b3a538808f38d052f307af7e789430c2d6a62fbefdf0a9

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 3e52560c206301e2b49520793d15100b5a5c4f334191c740c1de8aa0e79f5866
MD5 30444e94948f43a7b9e9fff28989e7ce
BLAKE2b-256 78beaf7a08c6d48ec69560dcf0e71e23a502abcf4b96a7dd47c8ee798dfde44c

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.2-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.2-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 632b84de1b922d169ae6e3df1e9e35c3d09d073db84297ea8a3f24245e999940
MD5 62c61e37fdae1ca8bc8edfe6ef2a2364
BLAKE2b-256 b5861b1403d2610ace4e174b8568d6a761311696f744fef7e510a0c83eccd5e1

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.2-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.2-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9634077b2dfa93f004bc71a729e1fe08656cb85d1bd6cfd64bd483b7d013d37d
MD5 34cb9598aa9052b4c5d34d242ab357d3
BLAKE2b-256 f45865867331a0ee4c7eca95e3d837d3ca359326eed8f9e87fcdf94a2f1b7f2e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 070cc5e7651b944ecb89e2233895931d15017168598db82af95130cffb6048db
MD5 a7c436a36f1c1841bef27ac33be0aff1
BLAKE2b-256 79113970b74296c664ae458bfc25e0641b571338a00da27e4731158c96dcac3e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 86559eb0934079abc4423ba1ea7299c6c06dc8abe6f2527742d9ead784a286dd
MD5 be54be26205d10921b1b23034427c65b
BLAKE2b-256 6f2bdef97e73b5aa81ada7b87b6c9183790b8083144b38da600c484ce5b925ce

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 39.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.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 83f34b8009ee1984636261b7200395ca5fe7d4856c56e6ad9c62aecf77dc4bf4
MD5 c6015234c4657111b26af488144b918b
BLAKE2b-256 826dda2c088aba7a8f87c51e8b603e04fa26abbbdf039f6b1344e4a32ccd8e49

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3e9824875bd70e1203bda7ecd454589edf62a7c2a0c5d08fd7cd8a7114029af5
MD5 b1a9e4ce1d4d5551a5e108291fd0beed
BLAKE2b-256 fefea32de703728406b23b1ba6d11776e93e59850fc6dc025270e3b3c48810d7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 ae6045efea5fabb07a0081601f5c154a41a5c26c2ab633dc01a8641ff483b06b
MD5 b11a2294a12bdc332faff96e8c9512e7
BLAKE2b-256 220b4e915f5930b0f30eda1baf1e882321df08487c40684bbb9dcb323b40b6a8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.2-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.2-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5d6c0d8f851984be35e9747414d6dff56c5ee7250ae7c08e75c3c73c7f41773e
MD5 d5849e32f67be393097dfb25601e57fa
BLAKE2b-256 cd0a477a14dea426f88e17285ab23ee34363fe9e133cddfe967ded869e90bdfd

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.2-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.2-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d1f7c2be621bcc29234d555a8772b43c1a6928e154e8a5dc3cdd956b1a368de
MD5 378d1e1e5dcdf59c1e344e2f4cf9679a
BLAKE2b-256 d7d893e71987d9387eefbde20350310d8015f982cd742d731295a967fbfe9b6d

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.2-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.2-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b4a83dd12d9d5a0fcaad450e0d9d0cedc70d6b85ffd3572c35501c9d3d84d043
MD5 2c52425737c5c56c239406a9b16a6bfd
BLAKE2b-256 3b17b276b329fa99a04f1a13bd3420bb92ee73957cb4cff06a37c0485f465467

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.2-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 88225ed077e86ae4e424db44a9b961bdcc2d91dd218fe2f64653c98fee9be81a
MD5 999de55a7e7a50db9ba38f0d12053cfd
BLAKE2b-256 1142e42770f586e33ae09ad7a48819e4c5e7475c49474fac4c620402cc5834e5

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