Skip to content

TroBeeOne/BeeEncrypted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple Ai assisted generated encryption utility, it used .NET 8.

Once compiled, you run it FileEncrypt.exe "fullpathoffile"

Or, better approach, right click shell integration, see below REG section. Note on windows 11, you'll need to hit the 'more' at the bottom of the right click.

How to Compile and Place the .exe

  1. Compile: Open a developer command prompt, navigate to your project's folder, and run: dotnet publish -c Release -r win-x64 --self-contained true
    • This creates a self-contained .exe that doesn't require .NET to be installed.
  2. Find the .exe: Look in your project folder under bin\Release\net8.0\win-x64\publish\. You will find YourProjectName.exe.
  3. Place it: Create a permanent folder on your PC, for example C:\Tools\FileEncrypt\. Copy the .exe into this folder and rename it to FileEncrypt.exe.

Your final path will be C:\Tools\FileEncrypt\FileEncrypt.exe. This path is critical for the next step.


3. The Right-Click Registry Files

This will add the "Encrypt/Decrypt File" option to the context menu for all files.

A. Install Menu (install.reg)

  1. Open Notepad.
  2. Copy and paste the text below.
  3. IMPORTANT: You must replace the two instances of C:\\Tools\\FileEncrypt\\FileEncrypt.exe with the actual path where you saved your .exe. Note the required double backslashes (\\).
  4. Save the file as install.reg (make sure to select "All Files" in the "Save as type" dropdown, not ".txt").
  5. Double-click the install.reg file to add it to your registry.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\FileEncrypt]
@="Encrypt/Decrypt File"
"Icon"="C:\\Tools\\FileEncrypt\\FileEncrypt.exe,0"

[HKEY_CLASSES_ROOT\*\shell\FileEncrypt\command]
@="\"C:\\Tools\\FileEncrypt\\FileEncrypt.exe\" \"%1\""

B. Uninstall Menu (uninstall.reg)

Save this file the same way. It's good to keep it in case you want to remove the context menu item.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\*\shell\FileEncrypt]

That's it! After running the install.reg file, you should be able to right-click any file (like a .txt file) and see the "Encrypt/Decrypt File" option.

About

Local encryption utility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages