IOTA Tutorial 20 | Masked Authenticated Messaging Payload

IOTA Tutorial

Masked Authenticated Messaging Payload

In this video series different topics will be explained which will help you to understand IOTA. It is recommended to watch each video sequentially as I may refer to certain IOTA topics explained earlier.

The main objective of this video is to provide you with some basic knowledge about the Masked Authenticated Messaging Payload.

Nonce is a number based on the side key, root, index, message length, next root and message. Lets call these values “masked bundle values”. Nonce can be interpreted as a value created by scrambling these “masked bundle values” in a specific way using the security level.

When consuming a MAM stream, the signature is first validated by verifying if the signature belongs to one of the tree’s leaves. If the signature verification fails, the entire message is deemed invalid. If the signature verification is valid, the message is unmasked.

See the digest_bundle_signature function. The parse function requires a root value when the function is called. This root value must match the calculated root. If this is the case, the next root and message are unmasked.

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More

Did you know?

Buy in without the stress of trying to time the market

when you setup a savings plan. If you haven’t started a plan yet, head to your Bitpanda account to get started!

Purchasing cryptocurrencies comes with a number of risks.
Never invest money that you can't afford to lose.

You can automatically invest

in IOTA with Bitpanda Savings!