This minimalistic tool allows you to easily encrypt messages to me (niu.moe/@AkaiHebi).
Only me has the private key required to decrypt and read your message 😎 The message is not sent to the server.
Simply write your message in the field below (keep it short, less than 200 characters or so), click the button to encrypt (takes a couple seconds), and copy-paste the result in your post to me. Safe and easy!
This page is pure HTML, CSS and JS, hosted by Onahole.eu (which I'm tech-admin of).
The encryption is done inside the browser, so this means it's as secure as your device (risks are spyware, people peeking over your shoulder in public transport, Google Chrome recording the form data,..). This page is served through a HTTPS connection with certificate signed by Let's Encrypt.
To do encryption, it uses a very neat library: openpgpjs.
Feel free to dig into the source code: all you'd need to reuse the code is to replace my PGP public key by yours (I recommend using EdDSA keypairs because DSA and RSA produce much bigger ciphertexts which is impractical with limited post lengths of Mastodon).
Dependencies for this tool are: