-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add xxtea docs * Update index.rst --------- Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
- Loading branch information
1 parent
c3e0d97
commit bffe03c
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
XXTEA Component | ||
=============== | ||
|
||
.. seo:: | ||
:description: Lightweight encryption algorithm for ESPHome | ||
:keywords: xxtea | ||
|
||
This component cannot be used directly in YAML, but can be used in lambdas to encrypt and decrypt data. | ||
|
||
The encryption used is `XXTEA <https://en.wikipedia.org/wiki/XXTEA>`_ which is fast and compact. XXTEA is known | ||
to be susceptible to a chosen-plaintext attack, so it should not be used where plain-text injection is possible. | ||
|
||
The algorithm has been modified from the original to use a 256 bit key instead of the original 128 bit key. | ||
|
||
See the API docs for more information on how to use this component. | ||
|
||
See Also | ||
-------- | ||
|
||
- :doc:`index` | ||
- :apiref:`xxtea/xxtea.h` | ||
- :ghedit:`Edit` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters