Git Product home page Git Product logo

ncryptor's Introduction

NCryptor

NCryptor is a file encryption and decryption tool for Windows built using C# and WinForms which targets .NET 8 It provides an easy-to-use and straightforward graphical interface for encrypting and decrypting personal files using symmetric encryption algorithms.

Table of Contents

Features

  • Securely encrypt and decrypt files using symmetric encryption algorithms.
  • Simple and user-friendly interface with real-time logs.
  • Supports batch encryption and decryption of multiple files..
  • Detailed error logging for troubleshooting.
  • Can be easily modified to use any algorithm that derives from SymmetricAlgorithm class.

Building

  • Clone the repository: https://github.com/YashojaLakmith/NCryptor.git.
  • Build the solution with dotnet as an either framework dependent or self-hosted application.

Usage

  • Launch the NCryptor application.
  • Choose between encryption and decryption modes.
  • Select one or more files to process.
  • Select the directory to save completed files.
  • Enter a valid encryption/decryption key.
  • A valid key:
    • must be between 6 and 14 characters
    • may contain alphanumeric charcters as well as !@#$%^&*
  • Click the "Start" button to initiate the operation.

Build Dependencies

  • The application requires .NET 8 SDK to be present on the platform for build process.

Runtime Dependencies

  • The application requires .NET 8 Runtime to be present on the platform if it was built as a framework dependent application.

Backwards Compatibility

  • It is not guaranteed that the application would be backwards compatible with the previous .NET versions.

Special Notes

  • By default, the application uses Advanced Encryption Standard with 256bit key size, CBC mode and PKCS7 padding mode. However, this can be replaced with any algorithm which derives from SymmetricAlgorithm of your choice.

Change Encryption Algorithm

Inject any algorithm that derives from SymmetricAlgorithm class using the AddSymmetricAlgorithm extension method in the ServiceCollectionExtensions class.

Example:

public static IServiceCollection AddSymmetricAlgorithm(this IServiceCollection services)
{
    return services.AddTransient<SymmetricAlgorithm>(
        _ =>
        {
            var aes = Aes.Create();
            aes.KeySize = 256;
            aes.Padding = PaddingMode.PKCS7;
            aes.Mode = CipherMode.CBC;
            return aes;
        });
}

License

NCryptor is open-source software licensed under the MIT License.

ncryptor's People

Contributors

yashojalakmith avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.