# libsodium-esphome This is a port of [libsodium](https://github.com/jedisct1/libsodium) - A modern, portable, easy to use crypto library. We use libsodium 1.0.21 as the base (see libsodium submodule) with some simple patches in port/port_include to make the library compile with the [platformio](https://platformio.org/) and [ESP-IDF](https://github.com/espressif/esp-idf) build systems. Only a subset of libsodium is compiled, namely the cryptographic primitives required for [noise-c](https://github.com/esphome/noise-c/). libsodium is licensed under the [ISC License](https://github.com/jedisct1/libsodium#license)
2c89ad376a866566890033a79c84635cc007e809
idf.py add-dependency "esphome/libsodium^1.10021.1"