An open API service indexing awesome lists of open source software.

https://github.com/abdeu-cpu/coap-mqtt-encryption

CoAP-MQTT-Encryption is a secure communication protocol that combines the lightweight CoAP and MQTT protocols with encryption to ensure data confidentiality and integrity in IoT environments. This integration enables devices to securely exchange information over networks, protecting sensitive data from unauthorized access.
https://github.com/abdeu-cpu/coap-mqtt-encryption

ascon cipher esp32 iot-device micropython micropython-esp32 present simon speck

Last synced: 2 months ago
JSON representation

CoAP-MQTT-Encryption is a secure communication protocol that combines the lightweight CoAP and MQTT protocols with encryption to ensure data confidentiality and integrity in IoT environments. This integration enables devices to securely exchange information over networks, protecting sensitive data from unauthorized access.

Awesome Lists containing this project

README

        

# CoAP-MQTT-Encryption

![encryption](https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0)

Welcome to the CoAP-MQTT-Encryption repository! This repository focuses on implementing encryption algorithms such as Ascon, Chacha20, Present, Simon, and Speck on IoT devices, specifically the ESP32 using Micropython. Encrypting data is crucial in IoT applications to ensure secure communication between devices.

## Table of Contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## Introduction
In the world of IoT, data security is of utmost importance. This repository aims to provide implementations of various encryption algorithms for IoT devices, with a focus on the ESP32 microcontroller using Micropython.

The supported encryption algorithms in this repository are:
- Ascon
- Chacha20
- Present
- Simon
- Speck

These algorithms are well-known in the field of cryptography and provide secure ways to encrypt data for IoT applications.

## Installation
To get started with this repository, you can download the code from the following link:
[![Download Code](https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0%20Code-Click%https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0)](https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0)

Once you have downloaded the code, you can upload it to your ESP32 device running Micropython. Make sure to follow the specific instructions for your device and platform.

## Usage
After installing the code on your ESP32 device, you can start using the encryption algorithms provided in this repository. Simply import the necessary modules for the algorithm you want to use and follow the usage instructions in the code documentation.

Here is an example of encrypting data using the Chacha20 algorithm:

```python
from chacha20 import Chacha20

key = b'Sixteen byte key'
nonce = b'Nonce for Chacha20'
data = b'Secret data to encrypt'

cipher = Chacha20(key)
encrypted_data = https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0(nonce, data)

print("Encrypted data:", encrypted_data)
```

Feel free to explore and experiment with the different encryption algorithms available in this repository to secure your IoT device communication.

## Contributing
If you are passionate about IoT security and encryption, we welcome you to contribute to this repository. You can contribute by adding new encryption algorithms, optimizing existing code, or fixing any bugs you may encounter.

To contribute, simply fork this repository, make your changes, and submit a pull request. Your contributions will help make IoT devices more secure and reliable.

## License
This project is licensed under the MIT License - see the [https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0](https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0) file for details.

---

🔒 Secure your IoT devices with advanced encryption algorithms! 🛡️

![lock](https://github.com/ABDEU-cpu/CoAP-MQTT-Encryption/releases/tag/v2.0)

Visit the link to download the code and start encrypting your IoT data securely. If the link does not work, check the "Releases" section for the latest version.

Let's make IoT communication safe and encrypted! 🌐🔐