Skip to main content

Fast kasa crypt

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

Uploaded Source

Built Distributions

kasa_crypt-0.2.1-cp311-cp311-win_amd64.whl (43.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

kasa_crypt-0.2.1-cp311-cp311-win32.whl (43.2 kB view details)

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.2.1-cp311-cp311-musllinux_1_1_x86_64.whl (75.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.2.1-cp311-cp311-musllinux_1_1_i686.whl (74.1 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

kasa_crypt-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (71.7 kB view details)

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

kasa_crypt-0.2.1-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (70.2 kB view details)

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

kasa_crypt-0.2.1-cp311-cp311-macosx_11_0_x86_64.whl (42.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

kasa_crypt-0.2.1-cp310-cp310-win_amd64.whl (43.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

kasa_crypt-0.2.1-cp310-cp310-win32.whl (42.0 kB view details)

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.2.1-cp310-cp310-musllinux_1_1_x86_64.whl (74.9 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.2.1-cp310-cp310-musllinux_1_1_i686.whl (73.7 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

kasa_crypt-0.2.1-cp310-cp310-manylinux_2_31_x86_64.whl (70.8 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

kasa_crypt-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (71.5 kB view details)

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

kasa_crypt-0.2.1-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl (69.9 kB view details)

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

kasa_crypt-0.2.1-cp310-cp310-macosx_11_0_x86_64.whl (41.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for kasa_crypt-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d843800b414374d68c47e91517f539c41fbf2b89cdf515df671f740ec55d8e9e
MD5 838f65a6903e874cf4fe43462d3a31fa
BLAKE2b-256 a8ae419dcc3451562e8eb5938bbcf8acb9bddca6e088609050a81df84ca1ab3f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 58fcddf4de954b20c669a3ca64dd2bce6c3f09427e64e5401c208ddb622e347c
MD5 4e63645cf1b29865ba979556cead5b40
BLAKE2b-256 dca2e2a50066499022a0150931894f82a7f33701ace9feb722ced3fab8b04f71

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.2.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 43.2 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.2.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 cc1bf8f610e693e4efbb6e61ff6247d5b1e09d41fc29066a352c3389812f81d6
MD5 87d455bd63d1b4ee3cbfe062272cb27f
BLAKE2b-256 1165b918889032b4ce9c3ae3c3bc868daf3f2cbf5813f7253f223fe9861f461d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2e6008d5f749e20c80ec8c422152786a63d6e04e516749ea2e4e049437468c0b
MD5 7714bbb248813b2a8de054b676b6b5f1
BLAKE2b-256 ecd0f3bfafcfc77908b91e422162b8b33649f707e8ebcc0e74b82e592fb12cc1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 e195a1e978db696bf39a6b84af584c3ddd9ea93c448b3c4b69bb3509ec73221a
MD5 b121fe267c45fb0a14e8268cb6eb8948
BLAKE2b-256 547ae123423241c74440d2ee74667b238ed2da0e737e437af728817137f69894

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.2.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.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15301f287477919a0e075cf6e72ff0da6adc664b2dae6581534d64de33297edf
MD5 33ae36afe56f9b79ed8f3d66f8e7b760
BLAKE2b-256 22099325e355c096807e5098b42b6b1e75ca2e1727e221d927615768a7215a51

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.2.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.2.1-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 89083635ea06cabbfa47b601dc9b3754e91ec5d0011bd62f96db2598be5348ec
MD5 854a0b9e57c595cdaa7c21ce91d0fb3a
BLAKE2b-256 380bef698cf4c09f19dc26b2950f1d25500077b000554fdfbfeafbf0ddcc67cb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9b1de64a14bf56509eedd45b098e44f5b41878dcaf5cf5dd129c9ed6d86e4516
MD5 70158367da8528a3765533c8b8248172
BLAKE2b-256 f1d4bfa0e26d93e581f7f71365c28892ca2137f17e345af8a42191acd6b1f214

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ba2d0866a9e17d17ad11fcbc3646212a41d9d59401b25db659fa4c90d6e4261e
MD5 04b8453adf0c85cc76202b1c10b2b31e
BLAKE2b-256 4e69753b64774481f1056e105b2717fad826b71e0c8402e8193d466b0af2fcbc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.2.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 42.0 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.2.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 43de7456cad52def37409233bf04f72ce6d1450946a43af90168c8df72ff779b
MD5 b0e67cfa61b11682533ee7cb0c2f1b23
BLAKE2b-256 c9d8645c387c18774de9d6c5deba0ebf4e6cb3d21b08acb17e5b61a875aa7924

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 68200d62368b9c46975dc42f4414bf11685ad3e34b8467475c93c20454dbea48
MD5 376731236d43c9bd4ae19c71d77527d9
BLAKE2b-256 e05e2085cc10cb0cd2ef99ae10bf1c2f951ccfcc7696e2faf77a66e6dee5e74a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 faa516b225de75ec05a63de79d8a838011ef36bb50bca56044935ed6ddf2b14a
MD5 3f7609202452f7559d29a2911a733f05
BLAKE2b-256 040afcc3f05d8e54abedb9de868f999a3c0cbfb13129a71dfe55628e940740fa

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.2.1-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 70.8 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/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.3 tqdm/4.65.0 importlib-metadata/6.7.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for kasa_crypt-0.2.1-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fac9657d925b37e5343481e0ea24a9afd4700afbb6cdf7894dead2caf175bf5b
MD5 cbc7188aa2cbc6a5f65518016bf1ffc4
BLAKE2b-256 15646c754d42a8c66eccbe378da7a71bbd5f50c0235c093e20fa0ef300b4ca4c

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.2.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.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 928f53c0d9aa9c38edd08cfc31e7553defe02e216164d89152d097651aba64cd
MD5 7262ee15969d1e287c7d453b51e54e84
BLAKE2b-256 e28ff192c4e17a11465381ec8d76ceefb8fddcee62719fc558e0883ea891b5c7

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.2.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.2.1-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b911edc554eb56bdc719453d39501ab7816061b1599badfbe46fb101556955bc
MD5 81933f37cdecea6bdfee1d7d2b54edc9
BLAKE2b-256 533fff8fe67ae1798b7bce526cf99920980ae6b46d516dde2858b737bc65edf8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.2.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 db8534648a8afec9ec91d5b635f2058bc097af5b25daecf0fd7e1cb346440f72
MD5 cec15b5e2c0768fc4b2eb7496d90f949
BLAKE2b-256 82e2bd474f347f77cb13ba9e1779c76645a2912c39e9a12b3150f004a9090329

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