项目作者: Mickdep

项目描述 :
Command-line tool written in C# to lock a file with a password.
高级语言: C#
项目地址: git://github.com/Mickdep/MicryptCS.git
创建时间: 2019-04-05T13:23:46Z
项目社区:https://github.com/Mickdep/MicryptCS

开源协议:

下载


MicryptCS

Command-line tool written in C# to encrypt a file with a password.
The encryption used is AES-256-CBC with a HMAC-SHA-256 to enforce integrity and authentication.

Generally a ciphermode like GCM is preferred over CBC + HMAC, but C# doesn’t support GCM by default.
There is a library(BouncyCastle) available that supports GCM as ciphermode, but documentation is basically non-existent.

Warning!

Use this tool and/or code at your own risk.
This tool was developed as a project to gain more knowledge about basic cryptography, and certainly not as tool to be used in production.

Usage

  1. MicryptCS [filePath]. Example: MicryptCS C:/MyUsername/MyImportantFiles
  2. Choose a command by entering a valid number.
  3. Enter a password to encrypt/decrypt the files with.

ScreenShots

  1. Starting Micrypt and supplying a file path

Starting Micrypt and supplying a file path

  1. Choosing the encryption command and entering a password

Choosing the encryption command and entering a password

  1. Result of the encryption

Result of the encryption