Community
    • Login

    [New Plugin] EncTags — inline text encryption via ^^...^^ tags

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    1 Posts 1 Posters 41 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      saintleningrad-prog
      last edited by

      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.

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors