As I've revealed in my last Patreon post, I've been working on adding end-to-end encryption APIs into Mastodon as an upgrade to the direct message system.
Any and all technical details available at the moment are here:
https://github.com/tootsuite/mastodon/pull/13820
An implementation guide for app developers is being worked on.
#mastodev