Store private key on client

+2 votes
Hi, i'm interested about make chat on blockchain. When user send message to another user, they make stream and encrypt messages with rsa.

But, as i can see there is no way to make lite node for example on node js. And i have a questions is there  way to store private key only on client and access to stream with this key?
asked Aug 4, 2017 by nezzard
I tested it, createkeypairs dont working with createraw(

2 Answers

0 votes

As i understand this will works?

generate keys with createkeypairs and  then createraw ? and sign with pub key which i got before?

answered Aug 4, 2017 by nezzard
+1 vote
Please see this tutorial on external private key management:

https://www.multichain.com/developers/external-key-management/
answered Aug 5, 2017 by MultiChain
...