https://github.com/python-kasa/kasa-crypt
Fast kasa crypt
https://github.com/python-kasa/kasa-crypt
Last synced: 9 months ago
JSON representation
Fast kasa crypt
- Host: GitHub
- URL: https://github.com/python-kasa/kasa-crypt
- Owner: python-kasa
- License: apache-2.0
- Created: 2023-06-16T00:45:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-07T18:34:19.000Z (10 months ago)
- Last Synced: 2025-04-07T19:39:30.077Z (10 months ago)
- Language: Python
- Size: 124 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# kasa-crypt
Fast kasa crypt
## Installation
Install this via pip (or your favourite package manager):
`pip install kasa-crypt`
## Example usage
```python
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](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## Credits
This package was created with
[Copier](https://copier.readthedocs.io/) and the
[browniebroke/pypackage-template](https://github.com/browniebroke/pypackage-template)
project template.