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.

40 questions
5
votes
2 answers

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 would be smaller, and we wouldn't need to store…
alexpods
  • 498
  • 3
  • 7
5
votes
2 answers

(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 code but I don't see any way how to make different…
ovanwijk
  • 81
  • 3
4
votes
1 answer

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
  • 371
  • 2
  • 7
4
votes
0 answers

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 depend on? How can the current message know how many…
alexpods
  • 498
  • 3
  • 7
3
votes
0 answers

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 masked_payload = [ Encoded Index, Encoded Message Length,…
Robert Lie
  • 363
  • 1
  • 5
3
votes
1 answer

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 bundle.addEntry(signatureFragments.length, address,…
Olaf
  • 31
  • 2
2
votes
1 answer

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 talking about changing the sideKey. Here are my…
Robert Lie
  • 363
  • 1
  • 5
1
vote
0 answers

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 on same restricted channel
Asim Khan
  • 11
  • 1
1
vote
2 answers

Can MAM use non-zero value transactions?

Can MAM publish messages of 1i that aren't deleted by snapshots?
Matt
  • 399
  • 2
  • 7
0
votes
1 answer

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 from first script seed first root(required to…
niren
  • 101
  • 2