.NET File Encryptor.NET File Encryptor
Class used for file encryption, good for protecting folders from unwanted access..NET File Encryptor
Class used for file encryption, good for protecting folders from unwanted access.Overview
Have you ever wanted to block access to a folder?
Blocking folders is always very annoying, it takes several steps to do this and we usually have to tinker with system settings that are complicated. With this class you can block the contents of a folder with just a mouse click, but the use of this class is not limited to only files in the system, you can use this class to transfer files via sockets safely without knowing the content.
Features
- File Encryption
- Complete Folder Encryption
- Decryption Method
- Very Customizable
- All methods commented
Requirements
- .NET Framework 2.0
- Visual Studio 2015
- Medium Knowledge in AES cryptography and C#
Instructions
How to use.
First of all, add the class to your project and then in the code references add the FileEncryptor using namespace.
Then just use the following code.
using(Encryptor engine = new Encryptor())
{
    engine.Configuration.Password = "MyPassword";
    engine.Configuration.Salt = "MyTastySalt";
    // To Encrypt
    engine.EncryptFile(pathOfFile);
    // To Decrypt
    engine.DecryptFile(pathOfFile);
}
Other informations in How To Use file.
Other items by this author
Category | Scripts & Code / C# |
First release | 25 December 2018 |
Last update | 25 December 2018 |
Files included | .cs, .csproj |
Tags | C#, encryption, winforms |