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
- Choose a command by entering a valid number.
- Enter a password to encrypt/decrypt the files with.
- Starting Micrypt and supplying a file path
- Choosing the encryption command and entering a password
- Result of the encryption