Skip to content

python-kasa/kasa-crypt

Repository files navigation

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.