Encryption Libraries
Encryption Libraries
Are there any encryption libraries that can be used with both MicroPython and Python3? The idea is to send encrypted data back and forth from the computer to an ESP32.
Re: Encryption Libraries
The ESP32 port includes encryption support as part of its implementation of SSL. You can access this with the "ssl" module.
Is your goal to just encrypt the data as it's being transmitted (in which case SSL or HTTPS might be sufficient), or do you actually need to generate an encrypted file that can be later decrypted on some other device/pc.
Is your goal to just encrypt the data as it's being transmitted (in which case SSL or HTTPS might be sufficient), or do you actually need to generate an encrypted file that can be later decrypted on some other device/pc.
Re: Encryption Libraries
FWIW, if you want to do symmetric encryption of data, then the cryptolib module gives you AES encyrption/decryption, and there are many ways to also work with AES from CPython.
https://docs.micropython.org/en/latest/ ... tolib.html
https://docs.micropython.org/en/latest/ ... tolib.html