Skip to main content

Questions tagged [masked-authenticated-messaging]

Tag for Questions on Implementation and technical background of masked authenticated messaging (MAM), as well as for using it in Sensors or other Applications. Also general Usage. Masked Authenticated Messaging is no longer used on the IOTA mainnet.

Filter by
Sorted by
Tagged with
1 vote
2 answers
62 views

Conflicting data types iota.c and streams

So currently I'm working on an open source tangle gateway in C++ called lotti which makes use of iota.c library to send encrypted and decrypted messages which works fine. As I want to add iota streams ...
emDave's user avatar
  • 57
0 votes
1 answer
114 views

How to send a data payload of a size 1 MB or greater with MAM and node.js?

I know MAM is deprecated but I am doing some research on MAM. I was able to send and fetch a data payload of size 740 KB. But when I tried to use a data of 1 MB I am getting this issue with node.js ...
Pranav's user avatar
  • 35
0 votes
1 answer
38 views

What is the address of a restricted channel in Masked Authenticated Messaging (MAM)?

I have read many research papers, articles and the iota documentation. However, I am still confused whether the address for restricted mode is hash(merkle root) or hash(side_key + merkle root) Please ...
Pranav's user avatar
  • 35
1 vote
1 answer
159 views

How to publish messages using MAM to my private tangle?

I have a private tangle with 2 hornet nodes. I tried MAM using one of the devnet nodes by following the example on the official IOTA webpage. Can someone please tell me how do I publish and fetch ...
Pranav's user avatar
  • 35
0 votes
1 answer
39 views

Append message to MAM channel

I can create a MAM channel and add message to it in a single script using the doc. But when I want to add more message(in another script) to same channel later, I need to have following details saved ...
niren's user avatar
  • 101
3 votes
1 answer
128 views

Using Public Nodes in IOTA Tangle for testing purpose

I want to send some string data using MAM over IOTA Tangle. Right now, I am using devnet. I want to know how can we test our transactions using public nodes on Mainnet? What is the process for it? I ...
degr8sid's user avatar
0 votes
1 answer
51 views

Is it secure to enter your seed in a browser form to publish data to IOTA Tangle?

I am trying to publish my data on IOTA Tangle using MAM. For this, I have designed a web form where I have to enter my seed and press the publish button. The actual data is fetched from firebase ...
degr8sid's user avatar
0 votes
1 answer
24 views

Edit MAM stream already implemented on Tangle

For my project, I have created a web interface on which I'm viewing a published MAM stream. I want to know that is it possible to edit or add new record to MAM stream that has already been published ...
degr8sid's user avatar
2 votes
2 answers
92 views

How is a MAM stream implemented on the Tangle?

What I am wondering is how the Merkle tree for a MAM stream is implemented in the Tangle. Is each set of new data in the stream basically a "leaf", and considered a separate transaction on the Tangle ...
W. Churchill's user avatar
1 vote
1 answer
62 views

Why is the async function not working while fetching MAM data?

I am making a simple MAM publish and fetch script. The first script is mam_publish which publishes the data. The other script is mam_receive which fetched the already published data. Now, the ...
degr8sid's user avatar
0 votes
2 answers
67 views

How do I know MAM data has been published?

I am running a code to publish random data on Tangle via MAM. If I don't fetch the data at the same time, and I just want to confirm if it has been published on Tangle, how do I do that? Also, is it ...
degr8sid's user avatar
3 votes
1 answer
154 views

How to send Health Data to Tangle via MAM?

I am trying to make a project to send Health data from my phone to Tangle via MAM. For this purpose, I have made a sample file that publishes sample health data to Tangle. When I am running the code, ...
degr8sid's user avatar
1 vote
0 answers
117 views

How to attach a message multiple times (say 200 times) with the tangle using MAM

What I am trying to do is to attach a payload to the tangle using MAM protocol. If I run this loop for k=5 times it works fine i.e., data is attached to the Tangle. I confirmed that the data is ...
user3582228's user avatar
1 vote
1 answer
166 views

How can I fork MAM channel?

This https://blog.iota.org/introducing-masked-authenticated-messaging-e55c1822d50e says that any channel can be splitting. Also this https://medium.com/coinmonks/iota-mam-eloquently-explained-...
wss-world's user avatar
  • 111
3 votes
0 answers
108 views

Is MAM encrypted message has perfect secrecy?

Here I am referring to MAM in restricted mode, where side key is used to encrypt the message. One time pad is known for perfect secrecy. Since MAM uses the one-time pad, is MAM encrypted message has ...
Infinity's user avatar
  • 263
0 votes
1 answer
223 views

Is Java MAM Coming? [closed]

I'm developing a Java REST web services app that works with the Tangle. Currency won't be involved, just data messages, as from sensors. I think MAM is the technology for me, but I am not seeing any ...
BobC's user avatar
  • 131
4 votes
1 answer
457 views

Maximum how many possible characters to transfer in a message? [duplicate]

Since IOTA transaction is free of fee, so it's useful for transferring messages and files with it (compared to, for example, Ethereum that in case of the use of a String, the transaction will be very ...
Questioner's user avatar
3 votes
1 answer
107 views

How to stream XDK 110 data via MAM

I just got my Bosch XDK 110 and have been playing with the workbench. Everything works smoothly. Now I want to stream this data via MAM to the Tangle. Are there any pointers on how should I do this? ...
CarpinchoDem's user avatar
1 vote
0 answers
52 views

Unique SideKey for each individual message in Restricted mode

Is it possible to have a unique secret key for each new message added to the channel in restricted mode? If yes, How we can achieve it? Desired Scenario: Different Messages having different SideKeys ...
Asim Khan's user avatar
5 votes
0 answers
116 views

How to sign a data transaction?

I am wondering if it is possible to sign a data transaction, i.e. generate a signed bundle whose inputs have a balance of 0. If so, how could I construct such a bundle? I am asking because I would ...
wass's user avatar
  • 294
2 votes
2 answers
183 views

How to send a sidekey securely to the subscriber for my channel

Sending the sideKey and channel-id is important for new subscribers to read my stream. How can I securely transmit them over the network? Shouldn´t be the key exchange algorithm also quantum proof?
Dude's user avatar
  • 121
3 votes
1 answer
160 views

Problem uploading message to Tangle

I'm working on a project for sending sensor data to the tangle and up to now I've managed to do the following Collect environment data from a sensor attached to a Raspberry Pi Send that data via MQTT ...
Victor Roman's user avatar
1 vote
2 answers
161 views

Can MAM use non-zero value transactions?

Can MAM publish messages of 1i that aren't deleted by snapshots?
Matt's user avatar
  • 399
2 votes
1 answer
148 views

MAM: Can stored data in restricted mode be revoked at any time?

I have stored some data on the Tangle using MAM in restricted mode. Can this existing stored data be revoked, at any time, in some way? In the MAM API I could not find such an option. Note: I am not ...
Robert Lie's user avatar
3 votes
0 answers
57 views

MAM: Is the bundle, used to create masked payload signature, not normalized?

I am researching how Masked Authenticated Messaging (MAM) works. The masked_payload is created in the create function in file: https://github.com/iotaledger/MAM/blob/master/mam/src/mam.rs ...
Robert Lie's user avatar
4 votes
0 answers
118 views

How to setup Full Node with IXI MAM?

I have mounted some Full Nodes and wrote a post in Hello IOTA Forum with a tutorial to do this from scratch. Now I am looking for info to setup a Full Node with MAM support. I have been searching and ...
CarpinchoDem's user avatar
5 votes
2 answers
152 views

MAM: What is the purpose of the nonce in the masked_payload?

I am researching how Masked Authenticated Messaging (MAM) works. The masked_payload is created in the create function in file: https://github.com/iotaledger/MAM/blob/master/mam/src/mam.rs ...
Robert Lie's user avatar
3 votes
0 answers
216 views

Building the mam.client.js (actually the iota-bindings)

I am trying to build according to the instructions given: https://github.com/iotaledger/mam.client.js There are a whole lot of other steps then just described there which mainly relate to building ...
ovanwijk's user avatar
4 votes
1 answer
116 views

How does MAM handle key exchange to initiate secure data messaging?

This is not my question, but a question asked on r/iota daily discussion. Could not find an answer, so though it might be good to add here.
Genxthis's user avatar
  • 371
5 votes
2 answers
390 views

What's the point of using the Merkle Tree in MAM instead of just single private key?

The transaction address could be just a hash of public key instead of the Merkle Root (if I understand correctly how it works). In this case we still could use Winternitz OTS, but the signature size ...
alexpods's user avatar
  • 498
4 votes
0 answers
90 views

What's the size of the Merkle Tree of Masked Authenticated Messaging?

Based on the current source code of the client it looks like the Merkle Tree can have only one key. Am I right? The questions: How many keys does the Merkle Tree have in general? What does it ...
alexpods's user avatar
  • 498
5 votes
2 answers
325 views

(WebJS) MAM Channels using Channel ID's

For info I am using the web version of: https://github.com/l3wi/mam.client.js I am looking to use MAM for a web-only project. I really read all about setting up different channels. I have read all ...
ovanwijk's user avatar
6 votes
1 answer
100 views

What's the incentive to use recommended tip selection algorithm for MAM transactions?

As far as I understand MAM users don't care if their transactions will be ever confirmed. They use the tangle just as a transport layer. So my question is: Why would they use any tip selection ...
alexpods's user avatar
  • 498
3 votes
1 answer
60 views

MAM Issue:TypeError: Transaction.quietFromHash is not a function

I am currently playing around with the MAM feature and installed the MAM.ixi extension on my node. Unfortunately I ran into an error when trying to access the getMessage function: "Request Error: ...
lelmac's user avatar
  • 53
5 votes
0 answers
245 views

MAM message encryption

According to the documentation message encryption is done in following way Each message is encrypted with a one-time pad that consists of the channel ID and the index of the key used to sign the ...
Infinity's user avatar
  • 263
4 votes
0 answers
71 views

What code was used and are there any examples of code available to develop the MAM on the XDK and RuuviTag for the Tangle?

There have been reports of MAM being implemented and sent to the Tangle using the Bosch XDK and the RuuviTag. What code was used and are there any examples of code available to develop the MAM on the ...
Donny Letson's user avatar
3 votes
1 answer
431 views

Error running Iota MAM example

I tried to run the MAM example from the git: https://github.com/iotaledger/mam.client.js Running the post.js from the /examples/ folder I got the following error: /root/mam.client.js/lib/mam.js:102 ...
Olaf's user avatar
  • 31
2 votes
1 answer
943 views

What is IOTA Masked Authenticated Messaging (MAM)? [closed]

There have been reports of MAM being implemented on IoT devices like the Bosch XDK and RuuviTag. What, exactly, is MAM?
Donny Letson's user avatar
6 votes
2 answers
228 views

Will MAM not lead to network congestion?

In the MAM introduction article there is for example this part about the message size: These messages can have any size; however, a heuristic evaluation would demonstrate smaller messages ...
Jey DWork's user avatar
  • 160
24 votes
1 answer
433 views

What happens to a MAM (Masked Authenticated Message) Stream during a Snapshot?

The Masked Authenticated Messaging Introduction doesn't talk about snapshotting as it relates to MAM data streams, so I am trying to work out in my head what happens during a snapshot. It's a forward ...
theoretical's user avatar