Hi everyone,
I built a small plugin called EncTags. It lets you encrypt a fragment
of text right inside any file, using a simple ^^…^^ tag format,
without touching the rest of the file.
Repo: https://github.com/saintleningrad-prog/enctags-npp
How it works:
Select text, or place the cursor inside a ^^…^^ tag, press
Ctrl+Shift+E
Raw ^^some text^^ gets encrypted into ^^L1:base64…^^
Cursor on an encrypted tag decrypts it back, with a password prompt
Nothing happens automatically on open, save, or close, every
action is explicit
Crypto: AES-256-GCM + PBKDF2-HMAC-SHA256 (100k iterations), via
Windows CNG (bcrypt.dll), no third-party crypto library.
The tag format is intentionally simple and documented in the README,
so a tag can be decrypted outside the plugin too (Python, a browser
script, anything that implements the same AES-GCM parameters).
This is an early release (v0.2.0), built with help from an AI
assistant for both the design and the C++ implementation. I would
appreciate any feedback, especially on the Notepad++/Scintilla
integration, whether the notification handling and buffer position
tracking is done correctly, and whether the approach makes sense
from a plugin-architecture standpoint.
Thanks for reading.