Fast kasa crypt
Install this via pip (or your favourite package manager):
pip install kasa-crypt
from kasa_crypt import encrypt, decrypt
encrypted = encrypt('{"hello":"world"}')
decrypted = decrypt(encrypted[4:]) # Always a 4 byte header
print (decrypted)
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
This package was created with Copier and the browniebroke/pypackage-template project template.