encrypring and decrypting data in stream

+1 vote
i want to encrypt my data using public key in the streams, so firest i want to know how to get the public key of each node, and how i can use the private key of the node to decrypt the data (how can i konw this private key of the node) any example will be helpful. thank you very much
asked Jan 10 by ashir

1 Answer

0 votes
Best answer
There is a very detailed example here, including create RSA key pairs, associating them with addresses, and distributing them over the blockchain: https://www.multichain.com/developers/stream-confidentiality/
answered Jan 10 by MultiChain
selected Jan 11 by ashir