Private store on Wallet

+1 vote
Hi,

I have 2 questions:

- Can the blockchain private key be used to encrypt data? It isn't straight forward for some reason

- Can the wallet/node store private information which I don't want to publish on the blockchain? Basically can one use the wallet to store custom data -maybe a persisted hashmap?

Thanks

Senthil
asked Feb 5, 2016 by senthil

1 Answer

0 votes

To use MultiChain's (and bitcoin's) ECDSA encryption scheme to encode a message for someone's public key, you can read this bitcointalk thread. But just as easy to use some other encryption scheme such as RSA, and for each user to publish their RSA public key in the blockchain, in a transaction they sign in the regular way.

There isn't currently a way to store private information in a node, but if it's just on that node, you can of course use any other kind of local database instead.

answered Feb 5, 2016 by MultiChain
...