Skip to content

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.

Notifications You must be signed in to change notification settings

ABDEU-cpu/CoAP-MQTT-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 

Repository files navigation

CoAP-MQTT-Encryption

encryption

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

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

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:

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 file for details.


๐Ÿ”’ Secure your IoT devices with advanced encryption algorithms! ๐Ÿ›ก๏ธ

lock

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! ๐ŸŒ๐Ÿ”

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published