We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c0729 commit ffd9979Copy full SHA for ffd9979
1 file changed
README.md
@@ -35,6 +35,16 @@ Install this via pip (or your favourite package manager):
35
36
`pip install kasa-crypt`
37
38
+## Example usage
39
+
40
+```python
41
+from kasa_crypt import encrypt, decrypt
42
43
+encrypted = encrypt('{"hello":"world"}')
44
+decrypted = decrypt(encrypted[4:]) # Always a 4 byte header
45
+print (decrypted)
46
+```
47
48
## Contributors ✨
49
50
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
0 commit comments