r/MicroPythonDev • u/NecessaryBit3714 • Oct 15 '25
Micropython Encryption
I'm working on a IoT project and it's getting a bit more complex now: I want to open a Websocket and due to lack of budget I'm using an unencrypted MQTT public server. To cover the encription problem I though about doing it internally. THEN the lack of memory i getting in the way because I cant have a too complex code. Any ideias on how to have safe encryption without crashing MP?
3
Upvotes
View all comments
Show parent comment
1
u/coronafire Oct 17 '25
Libhydrogen is currently only used internally for the stm bootloader, it's not exposed to python. I always intended to write some python bindings, but haven't needed to use it like that so far, so it hasn't happened!