Fast kasa crypt
Project description
kasa-crypt
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file kasa_crypt-0.2.0.tar.gz
.
File metadata
- Download URL: kasa_crypt-0.2.0.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/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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad2e73276f09ed035d53006985b08eb78869f73e60ac5d66547d9ddc35cb8cc4 |
|
MD5 | f9b0fe21d0dfcff7032bd8b752a88260 |
|
BLAKE2b-256 | 01ab46f794f45a322c22b3639647b17dc9ca771f14a7ca9c21a04d725cd517da |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 43.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7db9b111c76838e518fb040f1d6cc87a1aba4bf6cab44e834dadc924587ff199 |
|
MD5 | d83779dd55bfa0db785e5c685fef1d20 |
|
BLAKE2b-256 | a9ba597936b7e46b934552de0843e961d23556617beeb12c78add92a22115ebc |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-win32.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-win32.whl
- Upload date:
- Size: 43.0 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba8c6661232204dabe60cd3d592b702d43359a4a4947cf805f5d8cbec5164ae |
|
MD5 | 706ca238985582c728205ca1cefe16b8 |
|
BLAKE2b-256 | eab17ac4feee88eda1b828b6f8afd59d02464a94e1a75ddb1afddacb1912c2c1 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 73.2 kB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2e60330baebb14ead03af156e2f22a88bdc06f879e5876f31a6940d9b51b333 |
|
MD5 | c5a189fe2fe7e08aa2a75cfc33bc5c5a |
|
BLAKE2b-256 | 09a26a03371c303d04dcee342ce18daeca12d2a0ab94f180a78d4fe61dec5bda |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-musllinux_1_1_i686.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-musllinux_1_1_i686.whl
- Upload date:
- Size: 72.0 kB
- Tags: CPython 3.11, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff483c0bd9dd6a7b504c0d57669653941a8b1bcdcfeaba504fc02b40fa4057e |
|
MD5 | d3b29c59083c6a4ed7dc796b4842a75d |
|
BLAKE2b-256 | 59911aee69e5716851693bffb84fa59c7f0704b0cf253f133e3b1d70b529c39d |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 69.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf9725613f3512eb35d4ac517afe2128157a3becfae1e663b8f6e2fa027bd891 |
|
MD5 | f05b380bb9fddc9af77855779d1a1226 |
|
BLAKE2b-256 | 4c42cf19a05f67745b8bd1aef5bb316ad99b7096df3d3fc4ef0dd6a49533b7bf |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
- Upload date:
- Size: 68.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8c6a3c544e5f947892858807862f036eada4974a20e73f627de75ea23d53a8 |
|
MD5 | 232c1c92736d970875e0ff7c5cb7202d |
|
BLAKE2b-256 | 753db11f2febc69a930fd782c8cd30a1a37a3695103f46b674105fb57b665df0 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp311-cp311-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp311-cp311-macosx_11_0_x86_64.whl
- Upload date:
- Size: 41.7 kB
- Tags: CPython 3.11, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21c02f3d502adf7394bc4b306588b1d6f62d371c1218673b6fa22df158fc8b2b |
|
MD5 | 5e6186dd75c6668a19daa07911b5d1aa |
|
BLAKE2b-256 | 1398fa9b668b563f57f9c7d5b65643d3887896161ea646b2b392147d7f0c044b |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 43.0 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 462f7dbca8eab86507158bcd73005f8953f23f2bf5717f8cea1becd1e237b890 |
|
MD5 | 1024a442db90c97746b756531d9d2942 |
|
BLAKE2b-256 | 4bdd008c83a6d62a3e7fca123a2fd2dfa238128fe65a865becf009d20a065b34 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-win32.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-win32.whl
- Upload date:
- Size: 41.9 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5417fa89664918625e0b949fdee30247a944274e61451f24789f2245b3b403d2 |
|
MD5 | 1f1e7112567073c4c7223902c7934b30 |
|
BLAKE2b-256 | 9470ca2d4841640ca69fe230d633139ee7d71210470e3ad79842091af87ce4b3 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 73.2 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5ed45e6c78f4b486dc2dfa04f4c82da1b836a8b1e244787a885f13c7f89cca |
|
MD5 | 4d8b6138b0d5bb18efddb866350d4392 |
|
BLAKE2b-256 | 06d370d9622b025585f41b457fcb728f4b58b9cffe52f8dcbb275babd0e1edb7 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-musllinux_1_1_i686.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-musllinux_1_1_i686.whl
- Upload date:
- Size: 71.8 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7851e34e3216c6b3c982fb864fc166056476179d8ceea0b06138f7f86b8a657 |
|
MD5 | 66cab8a1496651762c21eafa7b380c74 |
|
BLAKE2b-256 | f0d09c001c3345276de2b1eec125679076ea04d52a85fc76cfc8e44272c4cc50 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-manylinux_2_31_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 69.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9676ac702aa62252fb4de3d5c9ee4895dd93610b9c37e732213b0914fbc0e255 |
|
MD5 | 5d0a24994795289ae6a9600c2d505bd0 |
|
BLAKE2b-256 | d9ba3111e4df4a2f6768a33478a471e0c1411a0fb6a2b0b7ab02fda0246083a8 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 69.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27aece9fb1b8b52ccb3e73a54a3e5236bfd6aec4bc3699215dcc546f2ddf8e26 |
|
MD5 | 9ede932381b09c3d102462417d7af817 |
|
BLAKE2b-256 | 3ec5bb1dfbd202bc5ef386e53594b4eadf63d102bafbe6610789589e9503c20e |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl
- Upload date:
- Size: 67.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9708ee85bc7a2978fe70170de6e6210f9e913c601c14baa2ce61955b0fa24e0 |
|
MD5 | 222f3a4f8c5251ab2a22fd49ee3b52f3 |
|
BLAKE2b-256 | 04a204d2e442ba713158c2dcbc309c6be20f66ebce60450c71c64128a2247352 |
Provenance
File details
Details for the file kasa_crypt-0.2.0-cp310-cp310-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: kasa_crypt-0.2.0-cp310-cp310-macosx_11_0_x86_64.whl
- Upload date:
- Size: 41.3 kB
- Tags: CPython 3.10, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62e9f1e7b8c1cb420522ddfd752a81d387a7097f640fa752d848360680f926e3 |
|
MD5 | de52be79404ff8bfa0e3440d6a7f28de |
|
BLAKE2b-256 | a89bcf17a93d37a0c7cc74fed45d65cc1aa01790d5b6b3afd7b0c3de3573c666 |