Is it possible to sign a document with signmessage method

+1 vote
I am trying to sign a document and not just text . Is it possible in multichain . And can we also save image in streams also .
asked Sep 22, 2016 by Moonis

1 Answer

0 votes
Yes you can sign a document that way, I suggest hashing the document first (e.g. with sha256) then signing the hash. This is exactly as secure as signing the full document.

And yes you can put any data you want in a stream. Please see the notes at the end of the blog post for which parameters you should set to allow large stream items.

http://www.multichain.com/blog/2016/09/introducing-multichain-streams/
answered Sep 22, 2016 by MultiChain
...