Back to: How To Secure Messages On EOS
The encrypted message is there. Then let’s read it.
$ python3 messenger.py --private-key-file priv.key --read-msg-to bob Cleartext: b'hello,bob' Deleting msg_id: 1 executed transaction: 6cdad7694f3fe6c8...112 bytes 566 us # queue <= queue::deletemsg {"to":"bob","msg_id":1}
Check the messages
table, the message is gone.
$ cleos get table queue queue messages { "rows": [], "more": false }
Thus we explored how to secure messages on EOS. Moving forward, we can work on scenario where Alice and Bob have their own keys, or send to multiple users.