Command-line tool written in C# to lock a file with a password.
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.
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.
MicryptCS [filePath]
. Example: MicryptCS C:/MyUsername/MyImportantFiles