Steem allows you to send Encrpted message to everyone, and Steem.js already have built-in functions to encode and decode the memo.
If you want to send an encrypted memo to any other people just append '# ' before your memo like below
'# Testing is this is encrypted'
In this tutorial, I will show how you can decrypt the memo send to you. If anyone has send you an encrypted message, the blockchain will show that message as shown below :
The code to decode the memo is using the function steem.memo.decode() where you have to pass the Memo Private Key as the first argument (memo private key can be of any one of the two i.e. sender or receiver) whereas the encoded message from the blockchain as the second argument as shown below -
steem.memo.decode('Private Memo Key', '#AcWtdaiAKfHS5YkrJcFjtMMfFEzFn78AB23sbwt4TYWhMvevhV1F34hp7gjPDDgTKaaWWV6CnMYjr6ZWEEmMwbo4MpRM5huam9qUbXd9JjJf46uSwK9aRiy3u1s3K2H4DNzCuCopY1v3Yhcjp8r5Rt7')
Once we run the above code after including the Memo Key, the decoded output is shown below :
Hope this tutorial is helpful if you would like to build your application and wanted to use Encryption of the memo and do not want people to read that memo instead of yourself or the one you have send the memo.
Posted on Utopian.io - Rewarding Open Source Contributors
I've been saying it would be very easy to build an app with secure communications in the Steem original. This actually makes it even easier than I had thought. It's already natively supported, just not integrated into the common UI's.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Yes @josephsavage, that's true. Along with that it is very fast :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I do not know what you say before you see that you know what you're talking about hahaha, but I miss those incredible photos;) Regards
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hahahah @greensky, yes those photos are coming, stay tuned :P
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you man, very cool. Can't wait to get my hands dirty :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
That's true @cryptonik :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks @shreyasgune :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @codingdefined I am @utopian-io. I have just upvoted you at 7% Power!
Achievements
Suggestions
Human Curation
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, this is great information thank you! Sorry to discover it now and not possible to upvote any more ...
May I ask a question? Where should we input the function steem.memo.decode() ?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
It has been a while, but this is one of the very few resources on this particular function. I cannot get it to work in the browser, cdn link or internal, I always get an error telling me steem.memo is undefined for both decode and encode. I've tried .auth but it seems that either the parameters/names have changed, or I'm missing something simple. If you have any input on my problem, pls let me know.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I am using steem npm package (https://www.npmjs.com/package/steem). Might be this can be helpful (https://github.com/steemit/steem-js/blob/eec0e98e77c6c7122bc3d791775ead348728e6f1/test/memo.test.js)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I'll try the npm package in node to see if it works. Otherwise I could look into that source or even try to rebuild the functionality if possible. Does it still work on your end?
Appreciate the reply, thanks.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
steem.memo Not present in the steem.min.js (Client-Side) and I have created a PR for it, hopefully it will be addresssed.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for looking into it and letting me know, hopefully it's just a bug and was not left out intentionally. Will be keeping an eye on it.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Wanted to say, glad I found this snippet to decode a memo that was buried in my history. Though the decoded message ended up being garbage. I think....
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit