Is it possible to encrypt or make sure that the indexed IOTA messages are received/extracted only by receiver they are meant for. My user case: User A, B, and C each have IDs that are known to all users (A,B,C in this case). Now user A want to send a message to B, so A will use B's ID as an index and attach the message to the tangle. User B will be looking for messages on the tangle that have B's ID as index and will be able to extract it. How could I make sure that only user B is able to extract this indexed data (and not User C, if user C decide to look for the same index)? Are there any other IOTA options?

1 Answer 1


You can add metadata to tx and store message.

But blocks containing tx or simply data are always public. So, to keep a message private you need to encrypt it using the public key of the user that you want to be the only one able to access (decrypt) the message.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.