back to main page Cryptoot · basic text encryption for Morgann

Cryptoot · basic text encryption for Morgann

Hello!
This minimalistic tool allows you to easily encrypt text messages for me.
Only me has the private key required to decrypt and read your message 🤫
The cleartext message is not sent to the server or anywhere. The encryption happens within your web browser only. How you send me the result is up to you.

Usage:
  1. write your message in the text field below
  2. click the button to encrypt it
  3. copy-paste the full result in your direct message or email to me




Technical details for the nerds ⬇️
This page is pure HTML, CSS and JS, hosted by myself.
The encryption is done within the web browser, so this means it's as secure as your device and browser (main vulnerabilities could be malware, spying eyes above your shoulder, browser anti-functions like "AI assistants" spying on your usage,..). 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. The library is loaded with a Subresource Integrity (SRI) check, but additionally if you wanna check if it has been tampered by my webhost in any way, you can run a signature check using my PGP public key.
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 X25519 keypairs over RSA because elliptic curve crypto produces smaller and more robust ciphertext).
Dependency library for this tool: Of course you can use my public key with another tool, like gpg: 0x79DCC5E3D80C73C9.