MAM Protocol: Alternative Messaging thanks to the IOTA Platform
The full article was originally published by IOTA Latino on Medium. Read the full article here.
A new alternative messaging protocol has been launched for the IOTA platform to achieve new levels of flexibility and optimization that will further improve interaction on the Internet of Things (IoT), the main development approach of this cryptographic project.
IOTA Messaging Protocol
This protocol, which runs as a second layer and adds the functionality of emitting and accessing an encrypted data stream, also provides integrity to the encrypted data, allowing the transmission of encrypted data through IOTA’s main network, Tangle.
Since the IoT allows devices to communicate and compensate each other autonomously, using the “gossip protocol” to propagate transactions across the network, about a year ago, IOTA implemented the Masked Authenticated Messaging (MAM) protocol.
However, it has certain limitations on how signatures are handled, as well as on the anonymity and visibility of authors in a channel.
In order to optimize this communication process, Samuel Rufinatscha, a member of the IOTA community that is part of the IOTA Evangelists Network, has developed a series of changes and improvements in the protocol, named MAM Lite.
The main addition to MAM Lite (MAML) is public key cryptography, which will allow the transmission of messages from various parts with public and private sections.
In this way, those involved in a message channel will be able to remain anonymous, while external agents will be able to verify the messages. Samuel explains that:
“Each address in a channel is derived from its previous address. It uses a cryptographic hash function, which is nothing more than a mathematical algorithm designed to be unidirectional, so no user will be able to see the history of an address.
Using additional channel identifiers and passwords, the developer asserts that confidentiality is guaranteed and protected against spams.
Since MAM Lite is based on the “forward secret” and cannot be reversed, data can be bought or sold at different prices, rather than having buyers gain access to a complete data stream.
MAML is simple to use, as its creator explains.