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

Uploaded Source

Built Distributions

kasa_crypt-0.1.0-cp311-cp311-win_amd64.whl (40.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

kasa_crypt-0.1.0-cp311-cp311-win32.whl (40.4 kB view details)

Uploaded CPython 3.11 Windows x86

kasa_crypt-0.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (68.3 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.0-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.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl (64.9 kB view details)

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

kasa_crypt-0.1.0-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.0-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.0-cp310-cp310-win_amd64.whl (40.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

kasa_crypt-0.1.0-cp310-cp310-musllinux_1_1_x86_64.whl (65.7 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

kasa_crypt-0.1.0-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.0-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.0-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.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: kasa_crypt-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 265e68a2ea0df045b7674bd64328de915e1e4dd027671548f5621a3b8812659b
MD5 90032f44f0f97d88e12c0c8ba452c88d
BLAKE2b-256 ef196d77ce65a5848db39f8d96da5e81ba421035e97e4f885290500df17a1f93

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c09ec7b4bbc91eeddcc47fcee9ed16f09af50458e973c18e5d7f221961636481
MD5 1020f6685c997a1bb4ced8e8d150aa48
BLAKE2b-256 ec0617970e6f0c331975cd5c6f2dcee5ee6771e4a6866875fb56d970176255db

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 40.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.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 055398540a9283fcd6447e6994b0db348a58ee35a7f0f844e2602972e28953af
MD5 d6a1e0759cd76f5f8d901c137a49e0b5
BLAKE2b-256 c5b27ed03cb88a629cc1f80706a3107e87397a87698497b8b6439ef397e8bfe6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9154b2dacc6e87bc0c625c076f6876b6441bb544da2202d3ef6777db87b27829
MD5 3e3509dce7832c5ff5dbab4626474c6e
BLAKE2b-256 cde74c2664c16d8792de130f5f2531b5f674e03f7920cf892823be1d516210cf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 95849339fd3e9dc2a0842e261061012738b0a72f6f49d15d02ee66785f9ca5b1
MD5 708879c5d308418bc711ecbce1789d19
BLAKE2b-256 80e1e49555826d72c63f3890a7890e6e9a6c694fee0074de271647d5f3a0759b

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.0-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.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c36d73b4fb98dd3075f7e6b42e9e9b2ca151b907511b62c1cd73835be75a842
MD5 485264fcf5a42d3a1653c4056de3f2fb
BLAKE2b-256 418c7e186937944c10f4b23334ca93ef7c577e6ca3695fc338bf491e30822d38

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.0-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.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ca31acda39c45247b21ca3f917f3f252950dde7cc1823ce49032d5135726534e
MD5 de3b1ac69e2a6c25553fa6c969d50194
BLAKE2b-256 b62e8b650191e774933c8acbc2da6d8ad0c77d3df57265c6af2e0b96da8de99b

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 fe1e480601a0db2369e581cbe839841df715a852fdb59294b2eec563a32e26c5
MD5 3ab1d4d2e71c6c4e941d383bb4f81f6a
BLAKE2b-256 8ef1e7d4a8d7f4d5b4b3e94a8c65b363b7f2910d3f7965734df3f522398b0bbb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bfd3f23066a7daeed334e86a6322474a1384ee4000f95b55150872d6f259aa7a
MD5 6728e86f2e9aac511765c3f394d15db7
BLAKE2b-256 fe4589e74e4e8ca3887272991fd4c9288ab670505754b4619d0518b3eb63e106

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.0-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.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 764573b019d750e4f87d0734b2e4b48cd58c205ed33c9a06b6d0788651b72063
MD5 ee7ff08adc11c6d8256a2bc4ae5b3610
BLAKE2b-256 1cae8fe9d9a54346e88e0b6d6435536b7c06d11d38af99c3bd2aa969e9fc6f8a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 be84a0f697139aaa0be2a17ade916b73703f27ea8f066744126f8f65e37b20c4
MD5 86ae402bada8c7facb3363b6cb3a3c02
BLAKE2b-256 b9fa24c98a849d8478f6712540da9e31f4543a34c9f2acaa40194271f20338fb

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 87516c9f5475ff79c010a8d609b8a2a84fa0e8084baffaa4c2fa2bdc9e8f3f0d
MD5 0c87a3c312c37dd67f832355e40955a1
BLAKE2b-256 0bd9fd42b4c8889891c312f09e9475dfc12c7148f954d90d2d4c03125a40f0bc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: kasa_crypt-0.1.0-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.0-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a0ede5d9ff04c43df3f8815f07faa3740e44411cef45509748302e2afc9bca94
MD5 474b5797198edf98bb04358b0229fcbf
BLAKE2b-256 bb7ec0cc77a8018a5a77b49d43397f096e32ac347926c0b93354d6af5e47eff6

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.0-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.0-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cf654da1785dd6de4c4ff2485ae2b18e60680b51add9055d389127cf8a035e19
MD5 37c8f1e06096cbacb9b58f3b8e0cd9c3
BLAKE2b-256 5bb6fb75fa2e09d262085324b839dad2f5ada76d52109d14aceb7816ddd7e71a

See more details on using hashes here.

Provenance

File details

Details for the file kasa_crypt-0.1.0-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.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b2c34e077e47bbf60b02c43418868ff970e2671fc7cf29d9bd6c996afb93a6b1
MD5 95b938f5b296ac37e6efe7af2c1a2dea
BLAKE2b-256 44698d4751a068abc771c795e38bed188dba358a20488e5156b6e1bcb46865cf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for kasa_crypt-0.1.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e8e31dac5530b64153f4fa08472cdee0d08969b7f258d5048a6f99ccc5c3fc09
MD5 92a53e83ad825f585c3aac78dc9571ec
BLAKE2b-256 358dae5123a03cbf20928cb3f3dcf52acd1646413908b9dc382b99eccd4e8e82

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