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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.1.1-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.1-cp311-cp311-musllinux_1_1_i686.whl (67.4 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.1.1-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.1-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.1-cp310-cp310-manylinux_2_31_x86_64.whl (61.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

kasa_crypt-0.1.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: kasa_crypt-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 aff6f97906b1ab34c69cc842dab2e47351f97f676f9ec17b5d846847628f5df6
MD5 b09589236bafb07f947c23fcd1a90081
BLAKE2b-256 a8cabafab976787478a41ecbdedfac4335517e0087a2fec935d803b2ba49b79f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e629f92c77c93ff628cf1dd4679b0db3a3f63dce34e97dfee929fd70d7630705
MD5 835ef1597c274cf984c3784bf85457aa
BLAKE2b-256 229a2b2642551d92ed3b77b91ed2cb95cf635a26d598f16b1e7f01dd2c1ec358

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.1-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.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 c2f9d2ef16f8f0b43e478d8682c4e72bc480159b01556b1b572d70e8ed80bd98
MD5 6d158ec1d2f9cc367d85cec431f11e03
BLAKE2b-256 df2ca26d96de0e2d14878010c611f2730466d8bf2a4992c44396ea63c70ff88b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 47cc21db4cb83cf6192799e192c1d58604b45733a4ed1c5f3b95c40ab5d7bb1f
MD5 dc32c85dc52e40af3ef42d40911bdd10
BLAKE2b-256 190ddea0975b6d7177a362db885ed0ce17859e34e617e22492256b5f59933dd4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 41b4c3fb829b100a91fa11dae9f505c7691064ef1f67abaeee9754177c295bae
MD5 163cbb3e34cade02185b4f5f41cc70b5
BLAKE2b-256 a04e4b38fbf389c187d14ded8afae0a3d54591c19c75e1e247390345941d7ee1

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.1-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.1-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c825fdc180926200f161263e0426999ee145193781e6e79a158703f11ae97caf
MD5 14fae23f1d2451e09063c4aef8a92d99
BLAKE2b-256 18c21e40c0e6e476afc6f03afbd168d924aeae8400140b89fb37d4bca2389ea5

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.1-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.1-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 df14445f1cd081a9addc9a1e1eae9be5c51c2d0727b86e1cfdfefb78679f191b
MD5 3d439c0eed0ea093d78757dcf202ce89
BLAKE2b-256 bfb098df7033d61cb57431d1d0b0e094404ba1905cd692f07026b61592f4d855

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2f5462a061ace38d3fdea4f965cdce9cee4bf2ba7b45a27ebf2e52e7af5a3c03
MD5 ec2543aa8772160cacaaa1e2e8033804
BLAKE2b-256 0c0efb045c748286daf7ee08948397faa230ac9b62847e45b3917c554d0d5047

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9ad3e30d06b69bd60445f7786c325f2cdc8da6047b34468af32ad8dbf0828793
MD5 b693d345634942446eb13cf0db0e7f8d
BLAKE2b-256 60d96ca995eb3d6c95cfbc627860ad8dad4a8222e5679ba5936213cecc2c631b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.1-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.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 907cd1f8e234e784a113fd01b614b0d1bb5a7c1104e2d403f3306cccd38783dc
MD5 36e6a718ae7ddea80fae9bf868aa64ef
BLAKE2b-256 6b7cdc83dd34193702289f4ed3def079d1de7a1380618a88b78240808ef61a66

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f1a2f8265927130c65b9bef16b24133e4bf4d6ef6fb9f49d3d4172ee5748a3f9
MD5 2d4b693946fe9f0b06dd8cb7228c9b40
BLAKE2b-256 eaa6c7007073888021a2c192894d572d316f79be1a51922b105c3664300ea181

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 9abd71b237be6eae1ad99b3b71806148c05aeddd0f028ca67da890fb80c656a5
MD5 79d1b27e1c6883701624e3d1541846f9
BLAKE2b-256 6c729e25fe88746d924d1c41cafddee310e56188f2f574209bef1ceedbb5edda

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.1-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 61.4 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.1-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f999d4e531042591852078b61248cacd62a9b2dacc14331294f71e1b9ac57009
MD5 092b2dd0e50363d29026c0dcbea28224
BLAKE2b-256 235f64a2e284aa4711ff2e82500936d4cf8a55e82153b93ce4c375f1044d7dc7

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.1-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.1-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb357f633efe37efff345c0abaf8f13705ef92d1ec82720d4643a7c5d4020bee
MD5 ef69630658201b345eb0a7256770feb4
BLAKE2b-256 bab5802856279ba1c3a1de348d7ea99fa827c428a39ad8337523c10ee1a41235

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.1-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.1-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c3194e1fa84a3d302cc35d95caed762b0db1ca74abb15c33034dec3b724b3e7b
MD5 1a66c257255fefefd6982fe181806e67
BLAKE2b-256 fff27d287eccd0d0a0a1e663d54d2791c4a7893783af9ac84268f40d20dcb0fb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 b4375e912162df0a9d94338d0168bf12960668193893efa0c10b9e96a3367511
MD5 aa1378214a3fc81baa740695c8be176e
BLAKE2b-256 7b5864af4493c77e575a59114946f8b2879af9bb20bfd516c7a6ba77cf1fd443

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