Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.05 KB

encryptor

A command line tool for AES encryption and decryption.

Developing Environment

  • C# 9.0
  • .NET Core 5.0
  • Visual Studio for Mac

Usage

Encryption

$ dotnet encryptor.dll encrypt [input_file_name] [output_file_name]

[input_file_name] is target file that will be encrypted.
After program was executed, a secret key file as generated as 'secret_key.'

Decryption

$ dotnet encryptor.dll decrypt [input_file_name] [output_file_name]

[input_file_name] is encrypted file.


開発環境

  • C# 9.0
  • .NET 5.0
  • Visual Studio for Mac

使い方

ファイルを暗号化する

$ dotnet encryptor.dll encrypt [入力ファイル名] [出力ファイル名]

[入力ファイル名]は暗号化される対象の元ファイルです。 実行後、'secret_key'という秘密鍵のファイルが作成されます。

ファイルを復号化する

$ dotnet encryptor.dll decrypt [入力ファイル名] [出力ファイル名]
[入力ファイル名]は暗号化したファイルです。